	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqc111_unbind
_aqc111_unbind:                         ## @aqc111_unbind
	.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	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_SFR_PHYPWR_RSTCTL_BZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AQ_ACCESS_MAC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_SFR_PHYPWR_RSTCTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-48(%rbp), %r15
	movl	$2, %ecx
	movq	%r15, %r8
	callq	_aqc111_write16_cmd_nopm
	movq	$0, -48(%rbp)
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	$2, %ecx
	movq	%r15, %r8
	callq	_aqc111_write16_cmd_nopm
	movq	_AQ_ADV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_AQ_LOW_POWER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	_AQ_PHY_POWER_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_AQ_PHY_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_aqc111_write32_cmd_nopm
	movq	%rbx, %rdi
	callq	_kfree
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SFR_PHYPWR_RSTCTL_BZ,8,3       ## @SFR_PHYPWR_RSTCTL_BZ
	.comm	_AQ_ACCESS_MAC,4,2              ## @AQ_ACCESS_MAC
	.comm	_SFR_PHYPWR_RSTCTL,4,2          ## @SFR_PHYPWR_RSTCTL
	.comm	_AQ_ADV_MASK,4,2                ## @AQ_ADV_MASK
	.comm	_AQ_LOW_POWER,4,2               ## @AQ_LOW_POWER
	.comm	_AQ_PHY_POWER_EN,4,2            ## @AQ_PHY_POWER_EN
	.comm	_AQ_PHY_OPS,4,2                 ## @AQ_PHY_OPS
	.no_dead_strip	_aqc111_unbind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqc111_unbind
_aqc111_unbind:                         ; @aqc111_unbind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _SFR_PHYPWR_RSTCTL_BZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SFR_PHYPWR_RSTCTL_BZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x21, _AQ_ACCESS_MAC@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AQ_ACCESS_MAC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x22, _SFR_PHYPWR_RSTCTL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SFR_PHYPWR_RSTCTL@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x4, sp, #8
	mov	w3, #2
	bl	_aqc111_write16_cmd_nopm
	str	xzr, [sp, #8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x4, sp, #8
	mov	x0, x19
	mov	w3, #2
	bl	_aqc111_write16_cmd_nopm
Lloh7:
	adrp	x8, _AQ_ADV_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AQ_ADV_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
Lloh10:
	adrp	x9, _AQ_LOW_POWER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AQ_LOW_POWER@GOTPAGEOFF]
	str	w8, [x20]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh13:
	adrp	x9, _AQ_PHY_POWER_EN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _AQ_PHY_POWER_EN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x20]
Lloh16:
	adrp	x8, _AQ_PHY_OPS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AQ_PHY_OPS@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	x4, x20
	bl	_aqc111_write32_cmd_nopm
	mov	x0, x20
	bl	_kfree
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SFR_PHYPWR_RSTCTL_BZ,8,3       ; @SFR_PHYPWR_RSTCTL_BZ
	.comm	_AQ_ACCESS_MAC,4,2              ; @AQ_ACCESS_MAC
	.comm	_SFR_PHYPWR_RSTCTL,4,2          ; @SFR_PHYPWR_RSTCTL
	.comm	_AQ_ADV_MASK,4,2                ; @AQ_ADV_MASK
	.comm	_AQ_LOW_POWER,4,2               ; @AQ_LOW_POWER
	.comm	_AQ_PHY_POWER_EN,4,2            ; @AQ_PHY_POWER_EN
	.comm	_AQ_PHY_OPS,4,2                 ; @AQ_PHY_OPS
	.no_dead_strip	_aqc111_unbind
.subsections_via_symbols
