	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_write_crypto_binding
_eap_fast_write_crypto_binding:         ## @eap_fast_write_crypto_binding
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_EAP_TLV_TYPE_MANDATORY@GOTPCREL(%rip), %rax
	movq	_EAP_TLV_CRYPTO_BINDING_TLV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_host_to_be16
	movq	%rax, 32(%rbx)
	movl	$36, %edi
	callq	_host_to_be16
	movq	%rax, 24(%rbx)
	movq	_EAP_FAST_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 12(%rbx)
	movq	_EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %edi
	movl	4(%r15), %esi
	movl	$4, %edx
	callq	_os_memcpy
	movl	4(%rbx), %edi
	movl	$4, %esi
	callq	_inc_byte_array
	movq	_EAP_FAST_CMK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	$40, %ecx
	callq	_hmac_sha1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %edx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	4(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %ecx
	callq	_wpa_hexdump
	movl	(%r14), %edi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_hexdump                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_TLV_TYPE_MANDATORY,4,2     ## @EAP_TLV_TYPE_MANDATORY
	.comm	_EAP_TLV_CRYPTO_BINDING_TLV,4,2 ## @EAP_TLV_CRYPTO_BINDING_TLV
	.comm	_EAP_FAST_VERSION,4,2           ## @EAP_FAST_VERSION
	.comm	_EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE,4,2 ## @EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE
	.comm	_EAP_FAST_CMK_LEN,4,2           ## @EAP_FAST_CMK_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-FAST: Reply Crypto-Binding TLV: Version %d Received Version %d SubType %d"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"EAP-FAST: NONCE"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-FAST: Compound MAC"

	.no_dead_strip	_eap_fast_write_crypto_binding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_write_crypto_binding
_eap_fast_write_crypto_binding:         ; @eap_fast_write_crypto_binding
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EAP_TLV_TYPE_MANDATORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_TLV_TYPE_MANDATORY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EAP_TLV_CRYPTO_BINDING_TLV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAP_TLV_CRYPTO_BINDING_TLV@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_host_to_be16
	str	x0, [x19, #32]
	mov	w0, #36
	bl	_host_to_be16
	str	x0, [x19, #24]
Lloh6:
	adrp	x8, _EAP_FAST_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAP_FAST_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh9:
	adrp	x8, _EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE@GOTPAGEOFF]
	ldr	w9, [x21, #16]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #8]
	ldr	w0, [x19, #4]
	ldr	w1, [x21, #4]
	mov	w2, #4
	bl	_os_memcpy
	ldr	w0, [x19, #4]
	mov	w1, #4
	bl	_inc_byte_array
Lloh12:
	adrp	x8, _EAP_FAST_CMK_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAP_FAST_CMK_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w4, [x19]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #40
	bl	_hmac_sha1
Lloh15:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	w3, w2, [x19, #12]
	ldr	w4, [x19, #8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh20:
	adrp	x20, _MSG_MSGDUMP@GOTPAGE
Lloh21:
	ldr	x20, [x20, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w2, [x19, #4]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w3, #4
	bl	_wpa_hexdump
	ldr	w0, [x20]
	ldr	w2, [x19]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w3, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wpa_hexdump
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TLV_TYPE_MANDATORY,4,2     ; @EAP_TLV_TYPE_MANDATORY
	.comm	_EAP_TLV_CRYPTO_BINDING_TLV,4,2 ; @EAP_TLV_CRYPTO_BINDING_TLV
	.comm	_EAP_FAST_VERSION,4,2           ; @EAP_FAST_VERSION
	.comm	_EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE,4,2 ; @EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE
	.comm	_EAP_FAST_CMK_LEN,4,2           ; @EAP_FAST_CMK_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-FAST: Reply Crypto-Binding TLV: Version %d Received Version %d SubType %d"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"EAP-FAST: NONCE"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-FAST: Compound MAC"

	.no_dead_strip	_eap_fast_write_crypto_binding
.subsections_via_symbols
