	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_start                    ## -- Begin function ath5k_start
	.p2align	4, 0x90
_ath5k_start:                           ## @ath5k_start
	.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), %r13
	movq	%r13, %rdi
	callq	_ath5k_hw_common
	movq	%rax, %r15
	leaq	28(%r13), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_ATH5K_DEBUG_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r13), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_ATH5K_DBG
	movq	%r13, %rdi
	callq	_ath5k_stop_locked
	movq	16(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	_AR5K_INT_RXOK@GOTPCREL(%rip), %rax
	movq	_AR5K_INT_RXERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AR5K_INT_RXEOL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AR5K_INT_RXORN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AR5K_INT_TXDESC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AR5K_INT_TXEOL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AR5K_INT_FATAL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AR5K_INT_GLOBAL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AR5K_INT_MIB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r13)
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ath5k_reset
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	_ath5k_modparam_no_hw_rfkill_switch@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_ath5k_rfkill_hw_start
LBB0_3:
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ath_hw_keyreset
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_5
LBB0_6:
	movl	$1, 4(%r13)
	movq	32(%r13), %rdi
	callq	_ARRAY_SIZE
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movq	32(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_ATH_STAT_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r13), %esi
	callq	_set_bit
	movq	16(%r13), %rbx
	addq	$8, %r13
	movq	_ATH5K_TX_COMPLETE_POLL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_ieee80211_queue_delayed_work
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH5K_DEBUG_RESET,4,2          ## @ATH5K_DEBUG_RESET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode %d\n"

	.comm	_AR5K_INT_RXOK,4,2              ## @AR5K_INT_RXOK
	.comm	_AR5K_INT_RXERR,4,2             ## @AR5K_INT_RXERR
	.comm	_AR5K_INT_RXEOL,4,2             ## @AR5K_INT_RXEOL
	.comm	_AR5K_INT_RXORN,4,2             ## @AR5K_INT_RXORN
	.comm	_AR5K_INT_TXDESC,4,2            ## @AR5K_INT_TXDESC
	.comm	_AR5K_INT_TXEOL,4,2             ## @AR5K_INT_TXEOL
	.comm	_AR5K_INT_FATAL,4,2             ## @AR5K_INT_FATAL
	.comm	_AR5K_INT_GLOBAL,4,2            ## @AR5K_INT_GLOBAL
	.comm	_AR5K_INT_MIB,4,2               ## @AR5K_INT_MIB
	.comm	_ath5k_modparam_no_hw_rfkill_switch,4,2 ## @ath5k_modparam_no_hw_rfkill_switch
	.comm	_ATH_STAT_STARTED,4,2           ## @ATH_STAT_STARTED
	.comm	_ATH5K_TX_COMPLETE_POLL_INT,4,2 ## @ATH5K_TX_COMPLETE_POLL_INT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_start                    ; -- Begin function ath5k_start
	.p2align	2
_ath5k_start:                           ; @ath5k_start
	.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
	ldr	x19, [x0]
	mov	x0, x19
	bl	_ath5k_hw_common
	mov	x21, x0
	add	x20, x19, #28
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x8, _ATH5K_DEBUG_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH5K_DEBUG_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x19, #44]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ATH5K_DBG
	mov	x0, x19
	bl	_ath5k_stop_locked
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh5:
	adrp	x8, _AR5K_INT_RXOK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR5K_INT_RXOK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _AR5K_INT_RXERR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AR5K_INT_RXERR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _AR5K_INT_RXEOL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AR5K_INT_RXEOL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _AR5K_INT_RXORN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _AR5K_INT_RXORN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh16:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _AR5K_INT_TXDESC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AR5K_INT_TXDESC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _AR5K_INT_TXEOL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AR5K_INT_TXEOL@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _AR5K_INT_FATAL@GOTPAGE
Lloh24:
	ldr	x10, [x10, _AR5K_INT_FATAL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh25:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _AR5K_INT_GLOBAL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AR5K_INT_GLOBAL@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _AR5K_INT_MIB@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AR5K_INT_MIB@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_ath5k_reset
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.1:
Lloh32:
	adrp	x8, _ath5k_modparam_no_hw_rfkill_switch@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ath5k_modparam_no_hw_rfkill_switch@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ath5k_rfkill_hw_start
LBB0_3:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_ath_hw_keyreset
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lt	LBB0_5
LBB0_6:
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	x0, [x19, #32]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	str	xzr, [x8, x21, lsl #3]
	add	x21, x21, #1
	ldr	x0, [x19, #32]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_8
LBB0_9:
	mov	w22, #0
LBB0_10:
	mov	x0, x20
	bl	_mutex_unlock
Lloh35:
	adrp	x8, _ATH_STAT_STARTED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ATH_STAT_STARTED@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	w1, [x19, #24]
	bl	_set_bit
	ldr	x20, [x19, #16]
	add	x19, x19, #8
Lloh38:
	adrp	x8, _ATH5K_TX_COMPLETE_POLL_INT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ATH5K_TX_COMPLETE_POLL_INT@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_queue_delayed_work
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH5K_DEBUG_RESET,4,2          ; @ATH5K_DEBUG_RESET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode %d\n"

	.comm	_AR5K_INT_RXOK,4,2              ; @AR5K_INT_RXOK
	.comm	_AR5K_INT_RXERR,4,2             ; @AR5K_INT_RXERR
	.comm	_AR5K_INT_RXEOL,4,2             ; @AR5K_INT_RXEOL
	.comm	_AR5K_INT_RXORN,4,2             ; @AR5K_INT_RXORN
	.comm	_AR5K_INT_TXDESC,4,2            ; @AR5K_INT_TXDESC
	.comm	_AR5K_INT_TXEOL,4,2             ; @AR5K_INT_TXEOL
	.comm	_AR5K_INT_FATAL,4,2             ; @AR5K_INT_FATAL
	.comm	_AR5K_INT_GLOBAL,4,2            ; @AR5K_INT_GLOBAL
	.comm	_AR5K_INT_MIB,4,2               ; @AR5K_INT_MIB
	.comm	_ath5k_modparam_no_hw_rfkill_switch,4,2 ; @ath5k_modparam_no_hw_rfkill_switch
	.comm	_ATH_STAT_STARTED,4,2           ; @ATH_STAT_STARTED
	.comm	_ATH5K_TX_COMPLETE_POLL_INT,4,2 ; @ATH5K_TX_COMPLETE_POLL_INT
.subsections_via_symbols
