	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macsec_qca_send_eapol
_macsec_qca_send_eapol:                 ## @macsec_qca_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	24(%rcx), %rbx
	movq	%rbx, %rdi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rdi
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.3:
	movq	_pae_group_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_4:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	%r13, %rsi
	callq	_os_memcpy
	movq	8(%r14), %rdi
	movq	(%rbx), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_os_memcpy
	movq	_ETH_P_PAE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%r14)
	movq	%r14, %rdi
	addq	$24, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_os_memcpy
	movl	(%r15), %edi
	movq	%r14, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_send
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_os_free
	testl	%r15d, %r15d
	jns	LBB0_6
## %bb.5:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_6
LBB0_1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc() failed for macsec_qca_send_eapol(len=%lu)"

	.comm	_pae_group_addr,8,3             ## @pae_group_addr
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_ETH_P_PAE,4,2                  ## @ETH_P_PAE
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"macsec_qca_send_eapol - packet len: %lu - failed: send: %s"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_macsec_qca_send_eapol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macsec_qca_send_eapol
_macsec_qca_send_eapol:                 ; @macsec_qca_send_eapol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x24, x5
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x21, x0
	add	x19, x3, #24
	mov	x0, x19
	bl	_os_zalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x0, [x0, #16]
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _pae_group_addr@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pae_group_addr@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x1, x25, x9, eq
Lloh3:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	ldr	x2, [x25]
	bl	_os_memcpy
	ldr	x0, [x20, #8]
	ldr	x2, [x25]
	mov	x1, x24
	bl	_os_memcpy
Lloh5:
	adrp	x8, _ETH_P_PAE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_P_PAE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x20]
	add	x0, x20, #24
	mov	x1, x23
	mov	x2, x22
	bl	_os_memcpy
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_send
	mov	x21, x0
	mov	x0, x20
	bl	_os_free
	tbz	w21, #31, LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_wpa_printf
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_wpa_printf
	mov	w21, #-1
LBB0_4:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc() failed for macsec_qca_send_eapol(len=%lu)"

	.comm	_pae_group_addr,8,3             ; @pae_group_addr
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_ETH_P_PAE,4,2                  ; @ETH_P_PAE
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"macsec_qca_send_eapol - packet len: %lu - failed: send: %s"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_macsec_qca_send_eapol
.subsections_via_symbols
