	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_identity_buildReq
_eap_identity_buildReq:                 ## @eap_identity_buildReq
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rdi), %edi
	leaq	-32(%rbp), %rsi
	callq	*%rax
	movq	%rax, %r15
	movq	-32(%rbp), %rdx
	jmp	LBB0_3
LBB0_2:
	movq	$0, -32(%rbp)
	xorl	%edx, %edx
	xorl	%r15d, %r15d
LBB0_3:
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EAP_CODE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %r8d
	callq	_eap_msg_alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_wpabuf_put_data
	jmp	LBB0_6
LBB0_4:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_IDENTITY,4,2          ## @EAP_TYPE_IDENTITY
	.comm	_EAP_CODE_REQUEST,4,2           ## @EAP_CODE_REQUEST
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-Identity: Failed to allocate memory for request"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_eap_identity_buildReq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_identity_buildReq
_eap_identity_buildReq:                 ; @eap_identity_buildReq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	add	x1, sp, #8
	blr	x8
	mov	x21, x0
	ldr	x2, [sp, #8]
	b	LBB0_3
LBB0_2:
	mov	x2, #0
	mov	x21, #0
	str	xzr, [sp, #8]
LBB0_3:
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_IDENTITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_IDENTITY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _EAP_CODE_REQUEST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAP_CODE_REQUEST@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x4, x20
	bl	_eap_msg_alloc
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_wpabuf_put_data
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh14:
	adrp	x8, _FAILURE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_IDENTITY,4,2          ; @EAP_TYPE_IDENTITY
	.comm	_EAP_CODE_REQUEST,4,2           ; @EAP_CODE_REQUEST
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-Identity: Failed to allocate memory for request"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_eap_identity_buildReq
.subsections_via_symbols
