	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b44_setup_wol
_b44_setup_wol:                         ## @b44_setup_wol
	.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, %rbx
	movq	_B44_RXCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RXCONFIG_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bw32
	movq	_B44_FLAG_B0_ANDLATER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_B44_WKUP_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WKUP_LEN_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bw32
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	movl	12(%rax), %esi
	shll	$24, %ecx
	shll	$16, %esi
	orl	%ecx, %esi
	movl	16(%rax), %edx
	shll	$8, %edx
	orl	%esi, %edx
	orl	20(%rax), %edx
	movq	_B44_ADDR_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bw32
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	shll	$8, %edx
	orl	4(%rax), %edx
	movq	_B44_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bw32
	movq	_B44_DEVCTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_br32
	movq	_DEVCTRL_MPM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	_DEVCTRL_PFE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_bw32
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_b44_setup_pseudo_magicp
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b44_setup_wol_pci              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B44_RXCONFIG,4,2               ## @B44_RXCONFIG
	.comm	_RXCONFIG_ALLMULTI,4,2          ## @RXCONFIG_ALLMULTI
	.comm	_B44_FLAG_B0_ANDLATER,4,2       ## @B44_FLAG_B0_ANDLATER
	.comm	_B44_WKUP_LEN,4,2               ## @B44_WKUP_LEN
	.comm	_WKUP_LEN_DISABLE,4,2           ## @WKUP_LEN_DISABLE
	.comm	_B44_ADDR_LO,4,2                ## @B44_ADDR_LO
	.comm	_B44_ADDR_HI,4,2                ## @B44_ADDR_HI
	.comm	_B44_DEVCTRL,4,2                ## @B44_DEVCTRL
	.comm	_DEVCTRL_MPM,4,2                ## @DEVCTRL_MPM
	.comm	_DEVCTRL_PFE,4,2                ## @DEVCTRL_PFE
	.no_dead_strip	_b44_setup_wol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b44_setup_wol
_b44_setup_wol:                         ; @b44_setup_wol
	.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
Lloh0:
	adrp	x8, _B44_RXCONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B44_RXCONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RXCONFIG_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXCONFIG_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_bw32
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _B44_FLAG_B0_ANDLATER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _B44_FLAG_B0_ANDLATER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _B44_WKUP_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B44_WKUP_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _WKUP_LEN_DISABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WKUP_LEN_DISABLE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bw32
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldp	w9, w10, [x8, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w8, [x8, #16]
	orr	w9, w9, w10, lsl #8
	orr	w2, w9, w8
Lloh15:
	adrp	x8, _B44_ADDR_LO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B44_ADDR_LO@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bw32
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	orr	w2, w8, w9, lsl #8
Lloh18:
	adrp	x8, _B44_ADDR_HI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B44_ADDR_HI@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bw32
Lloh21:
	adrp	x20, _B44_DEVCTRL@GOTPAGE
Lloh22:
	ldr	x20, [x20, _B44_DEVCTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_br32
	ldr	w1, [x20]
Lloh23:
	adrp	x8, _DEVCTRL_MPM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DEVCTRL_MPM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh26:
	adrp	x9, _DEVCTRL_PFE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DEVCTRL_PFE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_bw32
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_b44_setup_pseudo_magicp
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b44_setup_wol_pci
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_B44_RXCONFIG,4,2               ; @B44_RXCONFIG
	.comm	_RXCONFIG_ALLMULTI,4,2          ; @RXCONFIG_ALLMULTI
	.comm	_B44_FLAG_B0_ANDLATER,4,2       ; @B44_FLAG_B0_ANDLATER
	.comm	_B44_WKUP_LEN,4,2               ; @B44_WKUP_LEN
	.comm	_WKUP_LEN_DISABLE,4,2           ; @WKUP_LEN_DISABLE
	.comm	_B44_ADDR_LO,4,2                ; @B44_ADDR_LO
	.comm	_B44_ADDR_HI,4,2                ; @B44_ADDR_HI
	.comm	_B44_DEVCTRL,4,2                ; @B44_DEVCTRL
	.comm	_DEVCTRL_MPM,4,2                ; @DEVCTRL_MPM
	.comm	_DEVCTRL_PFE,4,2                ; @DEVCTRL_PFE
	.no_dead_strip	_b44_setup_wol
.subsections_via_symbols
