	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b44_remove_one
_b44_remove_one:                        ## @b44_remove_one
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_ssb_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_unregister_netdev
	movq	_B44_FLAG_EXTERNAL_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_b44_unregister_phy_one
LBB0_2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ssb_device_disable
	movl	(%r15), %edi
	callq	_ssb_bus_may_powerdown
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_netif_napi_del
	movq	%r14, %rdi
	callq	_free_netdev
	movq	_PCI_D3hot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ssb_pcihost_set_power_state
	movq	%r15, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ssb_set_drvdata                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B44_FLAG_EXTERNAL_PHY,4,2      ## @B44_FLAG_EXTERNAL_PHY
	.comm	_PCI_D3hot,4,2                  ## @PCI_D3hot
	.no_dead_strip	_b44_remove_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b44_remove_one
_b44_remove_one:                        ; @b44_remove_one
	.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
	bl	_ssb_get_drvdata
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_unregister_netdev
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _B44_FLAG_EXTERNAL_PHY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _B44_FLAG_EXTERNAL_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_b44_unregister_phy_one
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_ssb_device_disable
	ldr	w0, [x19]
	bl	_ssb_bus_may_powerdown
	add	x0, x21, #4
	bl	_netif_napi_del
	mov	x0, x20
	bl	_free_netdev
Lloh3:
	adrp	x8, _PCI_D3hot@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_D3hot@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ssb_pcihost_set_power_state
	mov	x0, x19
	mov	x1, #0
	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
	b	_ssb_set_drvdata
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_B44_FLAG_EXTERNAL_PHY,4,2      ; @B44_FLAG_EXTERNAL_PHY
	.comm	_PCI_D3hot,4,2                  ; @PCI_D3hot
	.no_dead_strip	_b44_remove_one
.subsections_via_symbols
