	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_bm_bufs_get_addrs
_mvpp2_bm_bufs_get_addrs:               ## @mvpp2_bm_bufs_get_addrs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_get_cpu
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mvpp2_cpu_to_thread
	movl	%eax, %r15d
	movl	(%r13), %edi
	callq	_MVPP2_BM_PHY_ALLOC_REG
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mvpp2_thread_read
	movl	%eax, (%r12)
	movq	_MVPP2_BM_VIRT_ALLOC_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_mvpp2_thread_read
	movl	%eax, (%r14)
	movq	(%rbx), %rax
	movq	_MVPP22@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_MVPP22_BM_ADDR_HIGH_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_mvpp2_thread_read
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_cpu                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_BM_VIRT_ALLOC_REG,4,2    ## @MVPP2_BM_VIRT_ALLOC_REG
	.comm	_MVPP22,8,3                     ## @MVPP22
	.comm	_MVPP22_BM_ADDR_HIGH_ALLOC,4,2  ## @MVPP22_BM_ADDR_HIGH_ALLOC
	.comm	_MVPP22_BM_ADDR_HIGH_PHYS_MASK,4,2 ## @MVPP22_BM_ADDR_HIGH_PHYS_MASK
	.comm	_MVPP22_BM_ADDR_HIGH_VIRT_MASK,4,2 ## @MVPP22_BM_ADDR_HIGH_VIRT_MASK
	.comm	_MVPP22_BM_ADDR_HIGH_VIRT_SHIFT,4,2 ## @MVPP22_BM_ADDR_HIGH_VIRT_SHIFT
	.no_dead_strip	_mvpp2_bm_bufs_get_addrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_bm_bufs_get_addrs
_mvpp2_bm_bufs_get_addrs:               ; @mvpp2_bm_bufs_get_addrs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	bl	_get_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_mvpp2_cpu_to_thread
	mov	x20, x0
	ldr	w0, [x23]
	bl	_MVPP2_BM_PHY_ALLOC_REG
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mvpp2_thread_read
	str	w0, [x22]
Lloh0:
	adrp	x8, _MVPP2_BM_VIRT_ALLOC_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP2_BM_VIRT_ALLOC_REG@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mvpp2_thread_read
	str	w0, [x21]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _MVPP22@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MVPP22@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MVPP22_BM_ADDR_HIGH_ALLOC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MVPP22_BM_ADDR_HIGH_ALLOC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mvpp2_thread_read
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_put_cpu
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_BM_VIRT_ALLOC_REG,4,2    ; @MVPP2_BM_VIRT_ALLOC_REG
	.comm	_MVPP22,8,3                     ; @MVPP22
	.comm	_MVPP22_BM_ADDR_HIGH_ALLOC,4,2  ; @MVPP22_BM_ADDR_HIGH_ALLOC
	.comm	_MVPP22_BM_ADDR_HIGH_PHYS_MASK,4,2 ; @MVPP22_BM_ADDR_HIGH_PHYS_MASK
	.comm	_MVPP22_BM_ADDR_HIGH_VIRT_MASK,4,2 ; @MVPP22_BM_ADDR_HIGH_VIRT_MASK
	.comm	_MVPP22_BM_ADDR_HIGH_VIRT_SHIFT,4,2 ; @MVPP22_BM_ADDR_HIGH_VIRT_SHIFT
	.no_dead_strip	_mvpp2_bm_bufs_get_addrs
.subsections_via_symbols
