	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_pax_mac                    ## -- Begin function eap_pax_mac
	.p2align	4, 0x90
_eap_pax_mac:                           ## @eap_pax_mac
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA1_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r9
	movq	_EAP_PAX_MAC_HMAC_SHA1_128@GOTPCREL(%rip), %rax
	movl	$-1, %r13d
	cmpq	%r14, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	32(%rbp), %rax
	movq	24(%rbp), %rcx
	movq	16(%rbp), %rdx
	movq	%rbx, -80(%rbp)
	movq	%r12, -112(%rbp)
	movq	%r15, -72(%rbp)
	movq	%rdx, -104(%rbp)
	movq	%rcx, -64(%rbp)
	xorl	%edx, %edx
	testq	%r15, %r15
	setne	%dl
	cmpq	$1, %rbx
	sbbq	$-1, %rdx
	movq	%rax, -96(%rbp)
	cmpq	$1, %rcx
	sbbq	$-1, %rdx
	leaq	-80(%rbp), %rcx
	leaq	-112(%rbp), %r8
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	%r9, %rbx
	callq	_hmac_sha1_vector
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	movq	40(%rbp), %rdi
	movq	_EAP_PAX_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_os_memcpy
	xorl	%r13d, %r13d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_MAC_LEN,4,2               ## @SHA1_MAC_LEN
	.comm	_EAP_PAX_MAC_HMAC_SHA1_128,8,3  ## @EAP_PAX_MAC_HMAC_SHA1_128
	.comm	_EAP_PAX_MAC_LEN,4,2            ## @EAP_PAX_MAC_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_pax_mac                    ; -- Begin function eap_pax_mac
	.p2align	2
_eap_pax_mac:                           ; @eap_pax_mac
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _SHA1_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA1_MAC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x8, _EAP_PAX_MAC_HMAC_SHA1_128@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_PAX_MAC_HMAC_SHA1_128@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x29, #16]
	stp	x3, x5, [x29, #-48]
	stp	x4, x6, [x29, #-72]
	stur	x7, [x29, #-32]
	stur	x8, [x29, #-56]
	cmp	x5, #0
	cset	w8, ne
	cmp	x3, #0
	cinc	x8, x8, ne
	cmp	x7, #0
	cinc	x8, x8, ne
	sub	x3, x29, #48
	sub	x4, x29, #72
	mov	x0, x1
	mov	x1, x2
	mov	x2, x8
	mov	x5, x19
	bl	_hmac_sha1_vector
	tbnz	x0, #63, LBB0_3
; %bb.2:
	ldr	x0, [x29, #24]
Lloh11:
	adrp	x8, _EAP_PAX_MAC_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAP_PAX_MAC_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_os_memcpy
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldur	x8, [x29, #-24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_MAC_LEN,4,2               ; @SHA1_MAC_LEN
	.comm	_EAP_PAX_MAC_HMAC_SHA1_128,8,3  ; @EAP_PAX_MAC_HMAC_SHA1_128
	.comm	_EAP_PAX_MAC_LEN,4,2            ; @EAP_PAX_MAC_LEN
.subsections_via_symbols
