	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_management_timer
_atmel_management_timer:                ## @atmel_management_timer
	.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	_management_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	40(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	48(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_21
LBB0_3:
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_16
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_12
## %bb.5:
	cmpl	$129, %eax
	jne	LBB0_20
## %bb.6:
	movl	36(%rbx), %eax
	movq	_MAX_AUTHENTICATION_RETRIES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_7
## %bb.8:
	movq	_WLAN_AUTH_OPEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	incl	%eax
	movl	%eax, 36(%rbx)
	movl	$1, 4(%rbx)
	movq	%rbx, %rdi
	addq	$12, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_MGMT_JIFFIES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	cmpl	$0, 32(%rbx)
	je	LBB0_11
## %bb.9:
	cmpl	$0, 28(%rbx)
	je	LBB0_11
## %bb.10:
	movq	_WLAN_AUTH_SHARED_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_send_authentication_request
	jmp	LBB0_20
LBB0_16:
	movl	16(%rbx), %eax
	movq	_MAX_ASSOCIATION_RETRIES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
## %bb.17:
	movq	_STATION_STATE_MGMT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_atmel_enter_state
	movq	$0, 16(%rbx)
	jmp	LBB0_14
LBB0_12:
	movl	24(%rbx), %eax
	movq	_MAX_ASSOCIATION_RETRIES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.13:
	movq	_STATION_STATE_MGMT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_atmel_enter_state
	movq	$0, 20(%rbx)
	jmp	LBB0_14
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_STATION_STATE_MGMT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_atmel_enter_state
	movl	$0, 20(%rbx)
	movl	$0, 36(%rbx)
LBB0_14:
	movq	%rbx, %rdi
	callq	_restart_search
	jmp	LBB0_20
LBB0_18:
	incl	%eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	addq	$12, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_MGMT_JIFFIES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	movq	%rbx, %rdi
	movl	$1, %esi
	jmp	LBB0_19
LBB0_15:
	incl	%eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	addq	$12, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_MGMT_JIFFIES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_19:
	callq	_send_association_request
LBB0_20:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_management_timer,4,2           ## @management_timer
	.comm	_MAX_AUTHENTICATION_RETRIES,4,2 ## @MAX_AUTHENTICATION_RETRIES
	.comm	_STATION_STATE_MGMT_ERROR,4,2   ## @STATION_STATE_MGMT_ERROR
	.comm	_WLAN_AUTH_OPEN,4,2             ## @WLAN_AUTH_OPEN
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MGMT_JIFFIES,8,3               ## @MGMT_JIFFIES
	.comm	_WLAN_AUTH_SHARED_KEY,4,2       ## @WLAN_AUTH_SHARED_KEY
	.comm	_MAX_ASSOCIATION_RETRIES,4,2    ## @MAX_ASSOCIATION_RETRIES
	.comm	_priv,8,3                       ## @priv
	.no_dead_strip	_atmel_management_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_management_timer
_atmel_management_timer:                ; @atmel_management_timer
	.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
Lloh0:
	adrp	x8, _management_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _management_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x20, x0
	ldr	x0, [x0, #40]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
	cbz	w0, LBB0_14
LBB0_3:
	add	x19, x20, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.4:
	cmp	w8, #130
	b.eq	LBB0_12
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_20
; %bb.6:
	ldr	w8, [x20, #36]
Lloh3:
	adrp	x9, _MAX_AUTHENTICATION_RETRIES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_AUTHENTICATION_RETRIES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_15
; %bb.7:
Lloh6:
	adrp	x9, _WLAN_AUTH_OPEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WLAN_AUTH_OPEN@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x9]
	add	w8, w8, #1
	str	w8, [x20, #36]
	mov	w8, #1
	str	w8, [x20, #4]
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x20, #12
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _MGMT_JIFFIES@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MGMT_JIFFIES@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	w8, [x20, #28]
Lloh15:
	adrp	x9, _WLAN_AUTH_SHARED_KEY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WLAN_AUTH_SHARED_KEY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w21, w21, w9, eq
LBB0_9:
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	mov	w3, #0
	bl	_send_authentication_request
	b	LBB0_20
LBB0_10:
	ldr	w8, [x20, #16]
Lloh18:
	adrp	x9, _MAX_ASSOCIATION_RETRIES@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAX_ASSOCIATION_RETRIES@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.11:
Lloh21:
	adrp	x8, _STATION_STATE_MGMT_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STATION_STATE_MGMT_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_atmel_enter_state
	str	xzr, [x20, #16]
	b	LBB0_16
LBB0_12:
	ldr	w8, [x20, #24]
Lloh24:
	adrp	x9, _MAX_ASSOCIATION_RETRIES@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MAX_ASSOCIATION_RETRIES@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.13:
Lloh27:
	adrp	x8, _STATION_STATE_MGMT_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _STATION_STATE_MGMT_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_atmel_enter_state
	stp	wzr, wzr, [x20, #20]
	b	LBB0_16
LBB0_14:
	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
LBB0_15:
Lloh30:
	adrp	x8, _STATION_STATE_MGMT_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _STATION_STATE_MGMT_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_atmel_enter_state
	str	wzr, [x20, #20]
	str	wzr, [x20, #36]
LBB0_16:
	mov	x0, x20
	bl	_restart_search
	b	LBB0_20
LBB0_17:
	add	w8, w8, #1
	str	w8, [x20, #16]
Lloh33:
	adrp	x8, _jiffies@GOTPAGE
Lloh34:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x20, #12
Lloh35:
	ldr	x8, [x8]
Lloh36:
	adrp	x9, _MGMT_JIFFIES@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MGMT_JIFFIES@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	mov	x0, x20
	mov	w1, #1
	b	LBB0_19
LBB0_18:
	add	w8, w8, #1
	str	w8, [x20, #24]
Lloh39:
	adrp	x8, _jiffies@GOTPAGE
Lloh40:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x20, #12
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _MGMT_JIFFIES@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MGMT_JIFFIES@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	mov	x0, x20
	mov	w1, #0
LBB0_19:
	bl	_send_association_request
LBB0_20:
	mov	x0, x19
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_management_timer,4,2           ; @management_timer
	.comm	_MAX_AUTHENTICATION_RETRIES,4,2 ; @MAX_AUTHENTICATION_RETRIES
	.comm	_STATION_STATE_MGMT_ERROR,4,2   ; @STATION_STATE_MGMT_ERROR
	.comm	_WLAN_AUTH_OPEN,4,2             ; @WLAN_AUTH_OPEN
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MGMT_JIFFIES,8,3               ; @MGMT_JIFFIES
	.comm	_WLAN_AUTH_SHARED_KEY,4,2       ; @WLAN_AUTH_SHARED_KEY
	.comm	_MAX_ASSOCIATION_RETRIES,4,2    ; @MAX_ASSOCIATION_RETRIES
	.comm	_priv,8,3                       ; @priv
	.no_dead_strip	_atmel_management_timer
.subsections_via_symbols
