	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_mac_stop                ## -- Begin function il4965_mac_stop
	.p2align	4, 0x90
_il4965_mac_stop:                       ## @il4965_mac_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_D_MAC80211
	cmpq	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_il4965_down
	movl	(%rbx), %edi
	callq	_flush_workqueue
	movq	_CSR_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	__il_wr
	movq	%rbx, %rdi
	callq	_il_enable_rfkill_int
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_D_MAC80211                     ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter\n"

	.comm	_CSR_INT,4,2                    ## @CSR_INT
L_.str.1:                               ## @.str.1
	.asciz	"leave\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_mac_stop                ; -- Begin function il4965_mac_stop
	.p2align	2
_il4965_mac_stop:                       ; @il4965_mac_stop
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_MAC80211
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	str	xzr, [x19, #8]
	mov	x0, x19
	bl	_il4965_down
	ldr	w0, [x19]
	bl	_flush_workqueue
Lloh2:
	adrp	x8, _CSR_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CSR_INT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	__il_wr
	mov	x0, x19
	bl	_il_enable_rfkill_int
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_D_MAC80211
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter\n"

	.comm	_CSR_INT,4,2                    ; @CSR_INT
l_.str.1:                               ; @.str.1
	.asciz	"leave\n"

.subsections_via_symbols
