	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_send_eapol
_wpa_send_eapol:                        ## @wpa_send_eapol
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.1:
	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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	32(%rbp), %eax
	movl	24(%rbp), %r10d
	movq	_WPA_KEY_INFO_KEY_TYPE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	xorl	%ebx, %ebx
	testl	%r14d, %r13d
	sete	%bl
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	pushq	$0
	pushq	%rax
	pushq	%r10
	pushq	16(%rbp)
	callq	___wpa_send_eapol
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$32, %rsp
	movl	(%r15,%rbx,4), %ecx
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.2:
	cmpq	$0, 8(%rdx)
	je	LBB0_6
## %bb.3:
	testl	%r14d, %r13d
	je	LBB0_4
## %bb.5:
	movq	_eapol_key_timeout_first@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_eapol_key_timeout_subseq@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r12d
	cmpq	$0, (%rdx)
	je	LBB0_11
## %bb.8:
	testl	%r14d, %r13d
	je	LBB0_10
## %bb.9:
	movq	_WPA_KEY_INFO_MIC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_11
LBB0_10:
	movq	_eapol_key_timeout_no_retrans@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_11:
	testl	%r14d, %r13d
	je	LBB0_15
## %bb.12:
	cmpl	$1, %ecx
	jne	LBB0_15
## %bb.13:
	movq	_WPA_KEY_INFO_MIC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_15
## %bb.14:
	movl	$1, 8(%r15)
LBB0_15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_wpa_printf
	movslq	%r12d, %rax
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rdi
	addl	%ecx, %edi
	imull	$1000, %edi, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %esi               ## imm = 0x3E8
	movq	_wpa_send_eapol_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eloop_register_timeout         ## TAILCALL
LBB0_16:
	retq
LBB0_4:
	movq	_eapol_key_timeout_first_group@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_KEY_INFO_KEY_TYPE,4,2      ## @WPA_KEY_INFO_KEY_TYPE
	.comm	_eapol_key_timeout_first,4,2    ## @eapol_key_timeout_first
	.comm	_eapol_key_timeout_first_group,4,2 ## @eapol_key_timeout_first_group
	.comm	_eapol_key_timeout_subseq,4,2   ## @eapol_key_timeout_subseq
	.comm	_WPA_KEY_INFO_MIC,4,2           ## @WPA_KEY_INFO_MIC
	.comm	_eapol_key_timeout_no_retrans,4,2 ## @eapol_key_timeout_no_retrans
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPA: Use EAPOL-Key timeout of %u ms (retry counter %u)"

	.comm	_wpa_send_eapol_timeout,4,2     ## @wpa_send_eapol_timeout
	.no_dead_strip	_wpa_send_eapol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_send_eapol
_wpa_send_eapol:                        ; @wpa_send_eapol
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_13
; %bb.1:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x29, #16]
Lloh0:
	adrp	x9, _WPA_KEY_INFO_KEY_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_KEY_INFO_KEY_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w23, w9, w2
	cset	w22, eq
	stp	w8, wzr, [sp]
	bl	___wpa_send_eapol
	ldr	w3, [x19, w22, uxtw #2]
	cmp	w3, #1
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _eapol_key_timeout_first@GOTPAGE
Lloh4:
	ldr	x8, [x8, _eapol_key_timeout_first@GOTPAGEOFF]
Lloh5:
	adrp	x9, _eapol_key_timeout_first_group@GOTPAGE
Lloh6:
	ldr	x9, [x9, _eapol_key_timeout_first_group@GOTPAGEOFF]
	cmp	w23, #0
	csel	x8, x8, x9, ne
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _eapol_key_timeout_subseq@GOTPAGE
Lloh8:
	ldr	x8, [x8, _eapol_key_timeout_subseq@GOTPAGEOFF]
LBB0_5:
	ldr	w22, [x8]
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.6:
	cbz	w23, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _WPA_KEY_INFO_MIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WPA_KEY_INFO_MIC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _eapol_key_timeout_no_retrans@GOTPAGE
Lloh13:
	ldr	x8, [x8, _eapol_key_timeout_no_retrans@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
LBB0_9:
	cmp	w23, #0
	ccmp	w3, #1, #0, ne
	b.ne	LBB0_12
; %bb.10:
Lloh15:
	adrp	x8, _WPA_KEY_INFO_MIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WPA_KEY_INFO_MIC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_12:
Lloh18:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_wpa_printf
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w22, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w0, w8, w9
	mov	w8, #1000
	msub	w9, w0, w8, w22
	mul	w1, w9, w8
Lloh23:
	adrp	x8, _wpa_send_eapol_timeout@GOTPAGE
Lloh24:
	ldr	x8, [x8, _wpa_send_eapol_timeout@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_eloop_register_timeout
LBB0_13:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_KEY_INFO_KEY_TYPE,4,2      ; @WPA_KEY_INFO_KEY_TYPE
	.comm	_eapol_key_timeout_first,4,2    ; @eapol_key_timeout_first
	.comm	_eapol_key_timeout_first_group,4,2 ; @eapol_key_timeout_first_group
	.comm	_eapol_key_timeout_subseq,4,2   ; @eapol_key_timeout_subseq
	.comm	_WPA_KEY_INFO_MIC,4,2           ; @WPA_KEY_INFO_MIC
	.comm	_eapol_key_timeout_no_retrans,4,2 ; @eapol_key_timeout_no_retrans
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPA: Use EAPOL-Key timeout of %u ms (retry counter %u)"

	.comm	_wpa_send_eapol_timeout,4,2     ; @wpa_send_eapol_timeout
	.no_dead_strip	_wpa_send_eapol
.subsections_via_symbols
