	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eapol_auth_tx_canned_eap
_eapol_auth_tx_canned_eap:              ## @eapol_auth_tx_canned_eap
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	testl	%r15d, %r15d
	movq	_EAP_CODE_SUCCESS@GOTPCREL(%rip), %rax
	cmoveq	_EAP_CODE_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rax, %r15
	movq	24(%rbx), %rax
	incq	%rax
	movq	%rax, 24(%rbx)
	movq	%rax, -40(%rbp)
	movl	$16, %edi
	callq	_host_to_be16
	movl	%eax, -32(%rbp)
	movq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	movq	_EAPOL_LOGGER_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-40(%rbp), %r9
	leaq	L_.str(%rip), %rcx
	movq	%r15, %r8
	callq	_eapol_auth_vlogger
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	movq	_IEEE802_1X_TYPE_EAP_PACKET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rcx
	movl	$16, %r8d
	callq	*8(%rax)
	incl	(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_CODE_SUCCESS,4,2           ## @EAP_CODE_SUCCESS
	.comm	_EAP_CODE_FAILURE,4,2           ## @EAP_CODE_FAILURE
	.comm	_EAPOL_LOGGER_DEBUG,4,2         ## @EAPOL_LOGGER_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sending canned EAP packet %s (identifier %d)"

L_.str.1:                               ## @.str.1
	.asciz	"SUCCESS"

L_.str.2:                               ## @.str.2
	.asciz	"FAILURE"

	.comm	_IEEE802_1X_TYPE_EAP_PACKET,4,2 ## @IEEE802_1X_TYPE_EAP_PACKET
	.no_dead_strip	_eapol_auth_tx_canned_eap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eapol_auth_tx_canned_eap
_eapol_auth_tx_canned_eap:              ; @eapol_auth_tx_canned_eap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
Lloh0:
	adrp	x8, _EAP_CODE_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_CODE_SUCCESS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _EAP_CODE_FAILURE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EAP_CODE_FAILURE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [x19, #24]
	add	x8, x8, #1
	str	x8, [x19, #24]
	str	x8, [sp]
Lloh4:
	adrp	x8, l_.str.1@PAGE
Lloh5:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh6:
	adrp	x9, l_.str.2@PAGE
Lloh7:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x20, x9, x8, eq
	mov	w0, #16
	bl	_host_to_be16
	str	w0, [sp, #8]
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
Lloh8:
	adrp	x8, _EAPOL_LOGGER_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAPOL_LOGGER_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	x5, [sp]
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x20
	bl	_eapol_auth_vlogger
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
Lloh13:
	adrp	x8, _IEEE802_1X_TYPE_EAP_PACKET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE802_1X_TYPE_EAP_PACKET@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x3, sp
	mov	w4, #16
	blr	x9
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_CODE_SUCCESS,4,2           ; @EAP_CODE_SUCCESS
	.comm	_EAP_CODE_FAILURE,4,2           ; @EAP_CODE_FAILURE
	.comm	_EAPOL_LOGGER_DEBUG,4,2         ; @EAPOL_LOGGER_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sending canned EAP packet %s (identifier %d)"

l_.str.1:                               ; @.str.1
	.asciz	"SUCCESS"

l_.str.2:                               ; @.str.2
	.asciz	"FAILURE"

	.comm	_IEEE802_1X_TYPE_EAP_PACKET,4,2 ; @IEEE802_1X_TYPE_EAP_PACKET
	.no_dead_strip	_eapol_auth_tx_canned_eap
.subsections_via_symbols
