	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnad_enable_default_bcast      ## -- Begin function bnad_enable_default_bcast
	.p2align	4, 0x90
_bnad_enable_default_bcast:             ## @bnad_enable_default_bcast
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_init_completion
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%r12), %edi
	movq	_bnad_bcast_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_bnad_cb_rx_mcast_add@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bna_rx_mcast_add
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_BNA_CB_SUCCESS@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r12d
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_wait_for_completion
	movl	(%rbx), %ecx
	xorl	%eax, %eax
	cmpl	(%r15), %ecx
	je	LBB0_3
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bnad_bcast_addr,8,3            ## @bnad_bcast_addr
	.comm	_bnad_cb_rx_mcast_add,4,2       ## @bnad_cb_rx_mcast_add
	.comm	_BNA_CB_SUCCESS,4,2             ## @BNA_CB_SUCCESS
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnad_enable_default_bcast      ; -- Begin function bnad_enable_default_bcast
	.p2align	2
_bnad_enable_default_bcast:             ; @bnad_enable_default_bcast
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x22, [x0, #16]
	add	x20, x0, #4
	mov	x0, x20
	bl	_init_completion
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w0, [x22]
Lloh0:
	adrp	x8, _bnad_bcast_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bnad_bcast_addr@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x8, _bnad_cb_rx_mcast_add@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bnad_cb_rx_mcast_add@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_bna_rx_mcast_add
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x21, _BNA_CB_SUCCESS@GOTPAGE
Lloh7:
	ldr	x21, [x21, _BNA_CB_SUCCESS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w22, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_wait_for_completion
	ldr	w8, [x19]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_bnad_bcast_addr,8,3            ; @bnad_bcast_addr
	.comm	_bnad_cb_rx_mcast_add,4,2       ; @bnad_cb_rx_mcast_add
	.comm	_BNA_CB_SUCCESS,4,2             ; @BNA_CB_SUCCESS
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
