	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_tlv_result
_eap_fast_tlv_result:                   ## @eap_fast_tlv_result
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r14d
	movl	$24, %edi
	callq	_wpabuf_alloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	_EAP_TLV_TYPE_MANDATORY@GOTPCREL(%rip), %r15
	movq	_EAP_TLV_INTERMEDIATE_RESULT_TLV@GOTPCREL(%rip), %rbx
	cmoveq	_EAP_TLV_RESULT_TLV@GOTPCREL(%rip), %rbx
	movl	%r14d, %ecx
	callq	_wpa_printf
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_wpabuf_put
	movq	%rax, %r13
	movl	(%rbx), %edi
	orl	(%r15), %edi
	callq	_host_to_be16
	movq	%rax, 16(%r13)
	movl	$2, %edi
	callq	_host_to_be16
	movq	%rax, 8(%r13)
	movl	%r14d, %edi
	callq	_host_to_be16
	movq	%rax, (%r13)
LBB0_2:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-FAST: Add %sResult TLV(status=%d)"

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

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_EAP_TLV_TYPE_MANDATORY,4,2     ## @EAP_TLV_TYPE_MANDATORY
	.comm	_EAP_TLV_INTERMEDIATE_RESULT_TLV,4,2 ## @EAP_TLV_INTERMEDIATE_RESULT_TLV
	.comm	_EAP_TLV_RESULT_TLV,4,2         ## @EAP_TLV_RESULT_TLV
	.no_dead_strip	_eap_fast_tlv_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_tlv_result
_eap_fast_tlv_result:                   ; @eap_fast_tlv_result
	.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	x21, x1
	mov	x20, x0
	mov	w0, #24
	bl	_wpabuf_alloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x2, x9, x8, eq
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
Lloh9:
	adrp	x8, _EAP_TLV_INTERMEDIATE_RESULT_TLV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAP_TLV_INTERMEDIATE_RESULT_TLV@GOTPAGEOFF]
Lloh11:
	adrp	x9, _EAP_TLV_RESULT_TLV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EAP_TLV_RESULT_TLV@GOTPAGEOFF]
	csel	x22, x9, x8, eq
	mov	x3, x20
	bl	_wpa_printf
	mov	x0, x19
	mov	w1, #24
	bl	_wpabuf_put
	mov	x21, x0
Lloh13:
	adrp	x8, _EAP_TLV_TYPE_MANDATORY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAP_TLV_TYPE_MANDATORY@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w0, w9, w8
	bl	_host_to_be16
	str	x0, [x21, #16]
	mov	w0, #2
	bl	_host_to_be16
	str	x0, [x21, #8]
	mov	x0, x20
	bl	_host_to_be16
	str	x0, [x21]
LBB0_2:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-FAST: Add %sResult TLV(status=%d)"

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

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_EAP_TLV_TYPE_MANDATORY,4,2     ; @EAP_TLV_TYPE_MANDATORY
	.comm	_EAP_TLV_INTERMEDIATE_RESULT_TLV,4,2 ; @EAP_TLV_INTERMEDIATE_RESULT_TLV
	.comm	_EAP_TLV_RESULT_TLV,4,2         ; @EAP_TLV_RESULT_TLV
	.no_dead_strip	_eap_fast_tlv_result
.subsections_via_symbols
