	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atheros_send_eapol
_atheros_send_eapol:                    ## @atheros_send_eapol
	.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
	subq	$3048, %rsp                     ## imm = 0xBE8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -3072(%rbp)                ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -3080(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-3056(%rbp), %rbx
	leaq	24(%rcx), %r15
	cmpq	$3001, %r15                     ## imm = 0xBB9
	jb	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_os_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	16(%rbx), %rdi
	movq	%r14, -3064(%rbp)               ## 8-byte Spill
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	%r12, %rsi
	callq	_os_memcpy
	movq	8(%rbx), %rdi
	movq	(%r14), %rdx
	movq	-3072(%rbp), %rsi               ## 8-byte Reload
	callq	_os_memcpy
	movq	_ETH_P_EAPOL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_host_to_be16
	movl	%eax, (%rbx)
	leaq	24(%rbx), %rdi
	movq	-3064(%rbp), %rsi               ## 8-byte Reload
	movq	%r13, %rdx
	callq	_os_memcpy
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_wpa_hexdump
	movq	-3080(%rbp), %rax               ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	%r12, %rsi
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_l2_packet_send
	movl	%eax, %r14d
	leaq	-3056(%rbp), %rax
	cmpq	%rax, %rbx
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_os_free
	jmp	LBB0_5
LBB0_2:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_printf
	movl	$-1, %r14d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r14d, %eax
	addq	$3048, %rsp                     ## imm = 0xBE8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAPOL frame discarded, cannot malloc temp buffer of size %lu!"

	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_ETH_P_EAPOL,4,2                ## @ETH_P_EAPOL
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"TX EAPOL"

	.no_dead_strip	_atheros_send_eapol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atheros_send_eapol
_atheros_send_eapol:                    ; @atheros_send_eapol
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #3008
	mov	x25, x5
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x26, sp
	add	x19, x3, #24
	mov	x21, sp
	cmp	x19, #3001
	b.lo	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_os_malloc
	mov	x21, x0
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x0, [x21, #16]
Lloh3:
	adrp	x27, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _ETH_ALEN@GOTPAGEOFF]
	ldr	x2, [x27]
	mov	x1, x20
	bl	_os_memcpy
	ldr	x0, [x21, #8]
	ldr	x2, [x27]
	mov	x1, x25
	bl	_os_memcpy
Lloh5:
	adrp	x25, _ETH_P_EAPOL@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ETH_P_EAPOL@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_host_to_be16
	str	w0, [x21]
	add	x0, x21, #24
	mov	x1, x24
	mov	x2, x23
	bl	_os_memcpy
Lloh7:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x3, x19
	bl	_wpa_hexdump
	ldr	w0, [x22]
	ldr	w2, [x25]
	mov	x1, x20
	mov	x3, x21
	mov	x4, x19
	bl	_l2_packet_send
	mov	x19, x0
	cmp	x21, x26
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_os_free
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_wpa_printf
	mov	w19, #-1
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	add	sp, sp, #3008
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAPOL frame discarded, cannot malloc temp buffer of size %lu!"

	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_ETH_P_EAPOL,4,2                ; @ETH_P_EAPOL
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"TX EAPOL"

	.no_dead_strip	_atheros_send_eapol
.subsections_via_symbols
