	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function eap_tlv_add_cryptobinding
LCPI0_0:
	.quad	60                              ## 0x3c
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_eap_tlv_add_cryptobinding:             ## @eap_tlv_add_cryptobinding
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_TYPE_PEAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	xorl	%r14d, %r14d
	movq	%rdx, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	movq	%rax, %r12
	movq	%rax, -64(%rbp)
	leaq	-68(%rbp), %rax
	movq	%rax, -56(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [60,1]
	movaps	%xmm0, -96(%rbp)
	movq	_EAP_TLV_CRYPTO_BINDING_TLV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_be16
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_wpabuf_put_be16
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_wpabuf_put_u8
	movl	16(%r13), %esi
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_wpabuf_put_data
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_wpabuf_put
	movq	%rax, %rbx
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	8(%r13), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$20, %ecx
	callq	_wpa_hexdump
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$60, %ecx
	movq	%r12, %rdx
	callq	_wpa_hexdump
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %ecx
	leaq	-68(%rbp), %rdx
	callq	_wpa_hexdump
	movq	8(%r13), %rdi
	leaq	-64(%rbp), %rcx
	leaq	-96(%rbp), %r8
	movl	$20, %esi
	movl	$2, %edx
	movq	%rbx, %r9
	callq	_hmac_sha1_vector
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	movq	_SHA1_MAC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump
	movl	$1, 4(%r13)
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r14d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r14d, %eax
	addq	$56, %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	_EAP_TYPE_PEAP,4,2              ## @EAP_TYPE_PEAP
	.comm	_EAP_TLV_CRYPTO_BINDING_TLV,4,2 ## @EAP_TLV_CRYPTO_BINDING_TLV
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-PEAP: Compound_MAC CMK"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-PEAP: Compound_MAC data 1"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-PEAP: Compound_MAC data 2"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-PEAP: Compound_MAC"

	.comm	_SHA1_MAC_LEN,8,3               ## @SHA1_MAC_LEN
	.no_dead_strip	_eap_tlv_add_cryptobinding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function eap_tlv_add_cryptobinding
lCPI0_0:
	.quad	60                              ; 0x3c
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_eap_tlv_add_cryptobinding:             ; @eap_tlv_add_cryptobinding
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _EAP_TYPE_PEAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_PEAP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	mov	x0, x2
	mov	w1, #0
	bl	_wpabuf_put
	mov	x20, x0
	add	x8, sp, #20
	stp	x0, x8, [sp, #24]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]
Lloh8:
	adrp	x8, _EAP_TLV_CRYPTO_BINDING_TLV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_TLV_CRYPTO_BINDING_TLV@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_be16
	mov	x0, x21
	mov	w1, #56
	bl	_wpabuf_put_be16
	mov	x0, x21
	mov	w1, #0
	bl	_wpabuf_put_u8
	ldr	w1, [x19]
	mov	x0, x21
	bl	_wpabuf_put_u8
	ldr	w1, [x19]
	mov	x0, x21
	bl	_wpabuf_put_u8
	mov	w22, #1
	mov	x0, x21
	mov	w1, #1
	bl	_wpabuf_put_u8
	ldr	w1, [x19, #16]
	mov	x0, x21
	mov	w2, #32
	bl	_wpabuf_put_data
	mov	x0, x21
	mov	w1, #20
	bl	_wpabuf_put
	mov	x21, x0
Lloh11:
	adrp	x23, _MSG_MSGDUMP@GOTPAGE
Lloh12:
	ldr	x23, [x23, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x2, [x19, #8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #20
	bl	_wpa_hexdump
	ldr	w0, [x23]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	w3, #60
	bl	_wpa_hexdump
	ldr	w0, [x23]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #20
	mov	w3, #1
	bl	_wpa_hexdump
	ldr	x0, [x19, #8]
	add	x3, sp, #24
	mov	x4, sp
	mov	w1, #20
	mov	w2, #2
	mov	x5, x21
	bl	_hmac_sha1_vector
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh19:
	adrp	x8, _SHA1_MAC_LEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SHA1_MAC_LEN@GOTPAGEOFF]
Lloh21:
	ldr	x3, [x8]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump
	mov	w0, #0
	str	w22, [x19, #4]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldr	x8, [sp, #40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TYPE_PEAP,4,2              ; @EAP_TYPE_PEAP
	.comm	_EAP_TLV_CRYPTO_BINDING_TLV,4,2 ; @EAP_TLV_CRYPTO_BINDING_TLV
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-PEAP: Compound_MAC CMK"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-PEAP: Compound_MAC data 1"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-PEAP: Compound_MAC data 2"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-PEAP: Compound_MAC"

	.comm	_SHA1_MAC_LEN,8,3               ; @SHA1_MAC_LEN
	.no_dead_strip	_eap_tlv_add_cryptobinding
.subsections_via_symbols
