	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_tlv_pac_ack
_eap_fast_tlv_pac_ack:                  ## @eap_fast_tlv_pac_ack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$44, %edi
	callq	_wpabuf_alloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%r14, %rdi
	movl	$40, %esi
	callq	_wpabuf_put
	movq	%rax, %rbx
	movq	_EAP_TLV_PAC_TLV@GOTPCREL(%rip), %rax
	movq	_EAP_TLV_TYPE_MANDATORY@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	_PAC_TYPE_PAC_ACKNOWLEDGEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_host_to_be16
	movq	%rax, 16(%rbx)
	movl	$2, %edi
	callq	_host_to_be16
	movq	%rax, 8(%rbx)
	movq	_EAP_TLV_RESULT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_host_to_be16
	movq	%rax, (%rbx)
LBB0_2:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	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 PAC TLV (ack)"

	.comm	_EAP_TLV_PAC_TLV,4,2            ## @EAP_TLV_PAC_TLV
	.comm	_EAP_TLV_TYPE_MANDATORY,4,2     ## @EAP_TLV_TYPE_MANDATORY
	.comm	_PAC_TYPE_PAC_ACKNOWLEDGEMENT,4,2 ## @PAC_TYPE_PAC_ACKNOWLEDGEMENT
	.comm	_EAP_TLV_RESULT_SUCCESS,4,2     ## @EAP_TLV_RESULT_SUCCESS
	.no_dead_strip	_eap_fast_tlv_pac_ack
.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_pac_ack
_eap_fast_tlv_pac_ack:                  ; @eap_fast_tlv_pac_ack
	.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
	mov	w0, #44
	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	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	mov	w1, #40
	bl	_wpabuf_put
	mov	x20, x0
Lloh5:
	adrp	x8, _EAP_TLV_PAC_TLV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAP_TLV_PAC_TLV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _EAP_TLV_TYPE_MANDATORY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EAP_TLV_TYPE_MANDATORY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_host_to_be16
	str	x0, [x20, #32]
	mov	w0, #36
	bl	_host_to_be16
	str	x0, [x20, #24]
Lloh11:
	adrp	x8, _PAC_TYPE_PAC_ACKNOWLEDGEMENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PAC_TYPE_PAC_ACKNOWLEDGEMENT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_host_to_be16
	str	x0, [x20, #16]
	mov	w0, #2
	bl	_host_to_be16
	str	x0, [x20, #8]
Lloh14:
	adrp	x8, _EAP_TLV_RESULT_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EAP_TLV_RESULT_SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_host_to_be16
	str	x0, [x20]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.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 PAC TLV (ack)"

	.comm	_EAP_TLV_PAC_TLV,4,2            ; @EAP_TLV_PAC_TLV
	.comm	_EAP_TLV_TYPE_MANDATORY,4,2     ; @EAP_TLV_TYPE_MANDATORY
	.comm	_PAC_TYPE_PAC_ACKNOWLEDGEMENT,4,2 ; @PAC_TYPE_PAC_ACKNOWLEDGEMENT
	.comm	_EAP_TLV_RESULT_SUCCESS,4,2     ; @EAP_TLV_RESULT_SUCCESS
	.no_dead_strip	_eap_fast_tlv_pac_ack
.subsections_via_symbols
