	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_sim_add_mac                ## -- Begin function eap_sim_add_mac
	.p2align	4, 0x90
_eap_sim_add_mac:                       ## @eap_sim_add_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r13
	movq	%rcx, %r12
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA1_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -64(%rbp)
	movq	%r14, -80(%rbp)
	movq	%r13, -56(%rbp)
	movq	%rbx, -72(%rbp)
	movq	_EAP_SIM_MAC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_os_memset
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_wpa_hexdump
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	movl	(%r12), %edi
	movq	_EAP_SIM_K_AUT_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_wpa_hexdump_key
	movl	(%r14), %esi
	leaq	-64(%rbp), %rcx
	leaq	-80(%rbp), %r8
	movq	%rbx, %rdi
	movl	$2, %edx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r9
	callq	_hmac_sha1_vector
	movq	_EAP_SIM_MAC_LEN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_os_memcpy
	movl	(%r12), %edi
	movq	(%r14), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_MAC_LEN,4,2               ## @SHA1_MAC_LEN
	.comm	_EAP_SIM_MAC_LEN,8,3            ## @EAP_SIM_MAC_LEN
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-SIM: Add MAC - msg"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-SIM: Add MAC - extra data"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-SIM: Add MAC - K_aut"

	.comm	_EAP_SIM_K_AUT_LEN,4,2          ## @EAP_SIM_K_AUT_LEN
L_.str.3:                               ## @.str.3
	.asciz	"EAP-SIM: Add MAC: MAC"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_sim_add_mac                ; -- Begin function eap_sim_add_mac
	.p2align	2
_eap_sim_add_mac:                       ; @eap_sim_add_mac
	.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, #48
	mov	x22, x5
	mov	x23, x4
	mov	x19, x3
	mov	x24, x2
	mov	x25, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _SHA1_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA1_MAC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	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, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	stp	x1, x4, [x29, #-104]
	stp	x2, x5, [x29, #-120]
Lloh8:
	adrp	x26, _EAP_SIM_MAC_LEN@GOTPAGE
Lloh9:
	ldr	x26, [x26, _EAP_SIM_MAC_LEN@GOTPAGEOFF]
	ldr	x2, [x26]
	mov	x0, x3
	mov	w1, #0
	bl	_os_memset
Lloh10:
	adrp	x27, _MSG_MSGDUMP@GOTPAGE
Lloh11:
	ldr	x27, [x27, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	mov	x3, x24
	bl	_wpa_hexdump
	ldr	w0, [x27]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	mov	x3, x22
	bl	_wpa_hexdump
	ldr	w0, [x27]
Lloh16:
	adrp	x22, _EAP_SIM_K_AUT_LEN@GOTPAGE
Lloh17:
	ldr	x22, [x22, _EAP_SIM_K_AUT_LEN@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_key
	ldr	w1, [x22]
	sub	x3, x29, #104
	sub	x4, x29, #120
	mov	x0, x20
	mov	w2, #2
	mov	x5, x21
	bl	_hmac_sha1_vector
	ldr	x2, [x26]
	mov	x0, x19
	mov	x1, x21
	bl	_os_memcpy
	ldr	w0, [x27]
	ldr	x3, [x26]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	sub	sp, x29, #80
	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_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_MAC_LEN,4,2               ; @SHA1_MAC_LEN
	.comm	_EAP_SIM_MAC_LEN,8,3            ; @EAP_SIM_MAC_LEN
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SIM: Add MAC - msg"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-SIM: Add MAC - extra data"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-SIM: Add MAC - K_aut"

	.comm	_EAP_SIM_K_AUT_LEN,4,2          ; @EAP_SIM_K_AUT_LEN
l_.str.3:                               ; @.str.3
	.asciz	"EAP-SIM: Add MAC: MAC"

.subsections_via_symbols
