	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_sm_buildIdentity           ## -- Begin function eap_sm_buildIdentity
	.p2align	4, 0x90
_eap_sm_buildIdentity:                  ## @eap_sm_buildIdentity
	.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	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_eap_get_config
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r12
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_5:
	testl	%r13d, %r13d
	je	LBB0_8
LBB0_6:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %r12
	movq	%rcx, -48(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_7:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_11
LBB0_8:
	movq	32(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_6
## %bb.9:
	movq	(%rbx), %rcx
	movq	%rcx, -48(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_10:
	movq	%r12, %rdx
	callq	_wpa_hexdump_ascii
	cmpq	$0, 24(%rbx)
	je	LBB0_13
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	testq	%r12, %r12
	je	LBB0_16
## %bb.14:
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdx
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %r8d
	callq	_eap_msg_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.15:
	movq	%rax, %rbx
	movq	-48(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_wpabuf_put_data
	jmp	LBB0_12
LBB0_16:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_wpa_printf
	movq	%r15, %rdi
	callq	_eap_sm_request_identity
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP: buildIdentity: configuration was not available"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"EAP: using method re-auth identity"

L_.str.2:                               ## @.str.2
	.asciz	"EAP: using anonymous identity"

L_.str.3:                               ## @.str.3
	.asciz	"EAP: using real identity"

L_.str.4:                               ## @.str.4
	.asciz	"EAP: buildIdentity: identity configuration was not available"

	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_IDENTITY,4,2          ## @EAP_TYPE_IDENTITY
	.comm	_EAP_CODE_RESPONSE,4,2          ## @EAP_CODE_RESPONSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_sm_buildIdentity           ; -- Begin function eap_sm_buildIdentity
	.p2align	2
_eap_sm_buildIdentity:                  ; @eap_sm_buildIdentity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
	bl	_eap_get_config
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_5
; %bb.4:
	mov	x22, x0
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x3, [sp, #8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_5:
	cbz	w23, LBB0_8
LBB0_6:
	ldp	x3, x22, [x21, #8]
	str	x3, [sp, #8]
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_7:
Lloh10:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_11
LBB0_8:
	ldr	x22, [x21, #32]
	cbz	x22, LBB0_6
; %bb.9:
	ldr	x3, [x21]
	str	x3, [sp, #8]
Lloh15:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	mov	x2, x22
	bl	_wpa_hexdump_ascii
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_13
LBB0_11:
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	cbz	x22, LBB0_16
; %bb.14:
Lloh20:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh22:
	adrp	x9, _EAP_TYPE_IDENTITY@GOTPAGE
Lloh23:
	ldr	x9, [x9, _EAP_TYPE_IDENTITY@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	ldr	w1, [x9]
	ldr	x2, [sp, #8]
Lloh26:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x4, x19
	bl	_eap_msg_alloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.15:
	ldr	x2, [sp, #8]
	mov	x0, x19
	mov	x1, x22
	bl	_wpabuf_put_data
	b	LBB0_12
LBB0_16:
Lloh29:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_eap_sm_request_identity
	b	LBB0_11
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP: buildIdentity: configuration was not available"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"EAP: using method re-auth identity"

l_.str.2:                               ; @.str.2
	.asciz	"EAP: using anonymous identity"

l_.str.3:                               ; @.str.3
	.asciz	"EAP: using real identity"

l_.str.4:                               ; @.str.4
	.asciz	"EAP: buildIdentity: identity configuration was not available"

	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_IDENTITY,4,2          ; @EAP_TYPE_IDENTITY
	.comm	_EAP_CODE_RESPONSE,4,2          ; @EAP_CODE_RESPONSE
.subsections_via_symbols
