	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfa_msgq_init
_bfa_msgq_init:                         ## @bfa_msgq_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_BFI_MC_MSGQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BFI_MSGQ_H2I_INIT_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	32(%rbx), %rdi
	xorl	%ecx, %ecx
	callq	_bfi_h2i_set
	movq	$0, 32(%rbx)
	movl	24(%rbx), %edi
	movl	24(%r14), %esi
	callq	_bfa_dma_be_addr_set
	movl	20(%r14), %edi
	callq	_htons
	movq	%rax, 16(%rbx)
	movl	8(%rbx), %edi
	movl	16(%r14), %esi
	callq	_bfa_dma_be_addr_set
	movl	12(%r14), %edi
	callq	_htons
	movq	%rax, (%rbx)
	movl	8(%r14), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfa_nw_ioc_mbox_queue          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BFI_MC_MSGQ,4,2                ## @BFI_MC_MSGQ
	.comm	_BFI_MSGQ_H2I_INIT_REQ,4,2      ## @BFI_MSGQ_H2I_INIT_REQ
	.no_dead_strip	_bfa_msgq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfa_msgq_init
_bfa_msgq_init:                         ; @bfa_msgq_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh0:
	adrp	x8, _BFI_MC_MSGQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BFI_MC_MSGQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BFI_MSGQ_H2I_INIT_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFI_MSGQ_H2I_INIT_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x0, [x20, #32]
	mov	w3, #0
	bl	_bfi_h2i_set
	str	xzr, [x20, #32]
	ldr	w0, [x20, #24]
	ldr	w1, [x19, #24]
	bl	_bfa_dma_be_addr_set
	ldr	w0, [x19, #20]
	bl	_htons
	str	x0, [x20, #16]
	ldr	w0, [x20, #8]
	ldr	w1, [x19, #16]
	bl	_bfa_dma_be_addr_set
	ldr	w0, [x19, #12]
	bl	_htons
	str	x0, [x20]
	ldr	w0, [x19, #8]
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfa_nw_ioc_mbox_queue
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BFI_MC_MSGQ,4,2                ; @BFI_MC_MSGQ
	.comm	_BFI_MSGQ_H2I_INIT_REQ,4,2      ; @BFI_MSGQ_H2I_INIT_REQ
	.no_dead_strip	_bfa_msgq_init
.subsections_via_symbols
