	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sake_build_identity
_eap_sake_build_identity:               ## @eap_sake_build_identity
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movslq	(%r14), %rdx
	addq	$6, %rdx
	movq	_EAP_SAKE_SUBTYPE_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_eap_sake_build_msg
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_SAKE_AT_PERM_ID_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$2, %ecx
	callq	_eap_sake_add_attr
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_SAKE_AT_SERVERID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rdx
	movl	(%r14), %ecx
	movq	%rbx, %rdi
	callq	_eap_sake_add_attr
	jmp	LBB0_3
LBB0_1:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	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-SAKE: Request/Identity"

	.comm	_EAP_SAKE_SUBTYPE_IDENTITY,4,2  ## @EAP_SAKE_SUBTYPE_IDENTITY
	.comm	_FAILURE,4,2                    ## @FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"EAP-SAKE: * AT_PERM_ID_REQ"

	.comm	_EAP_SAKE_AT_PERM_ID_REQ,4,2    ## @EAP_SAKE_AT_PERM_ID_REQ
L_.str.2:                               ## @.str.2
	.asciz	"EAP-SAKE: * AT_SERVERID"

	.comm	_EAP_SAKE_AT_SERVERID,4,2       ## @EAP_SAKE_AT_SERVERID
	.no_dead_strip	_eap_sake_build_identity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sake_build_identity
_eap_sake_build_identity:               ; @eap_sake_build_identity
	.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	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldrsw	x8, [x19]
	add	x2, x8, #6
Lloh4:
	adrp	x8, _EAP_SAKE_SUBTYPE_IDENTITY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EAP_SAKE_SUBTYPE_IDENTITY@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_eap_sake_build_msg
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh9:
	adrp	x8, _EAP_SAKE_AT_PERM_ID_REQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAP_SAKE_AT_PERM_ID_REQ@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	mov	w3, #2
	bl	_eap_sake_add_attr
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh14:
	adrp	x8, _EAP_SAKE_AT_SERVERID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EAP_SAKE_AT_SERVERID@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x2, [x19, #8]
	ldr	w3, [x19]
	mov	x0, x20
	bl	_eap_sake_add_attr
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x8, _FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_3:
	mov	x0, x20
	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	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SAKE: Request/Identity"

	.comm	_EAP_SAKE_SUBTYPE_IDENTITY,4,2  ; @EAP_SAKE_SUBTYPE_IDENTITY
	.comm	_FAILURE,4,2                    ; @FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"EAP-SAKE: * AT_PERM_ID_REQ"

	.comm	_EAP_SAKE_AT_PERM_ID_REQ,4,2    ; @EAP_SAKE_AT_PERM_ID_REQ
l_.str.2:                               ; @.str.2
	.asciz	"EAP-SAKE: * AT_SERVERID"

	.comm	_EAP_SAKE_AT_SERVERID,4,2       ; @EAP_SAKE_AT_SERVERID
	.no_dead_strip	_eap_sake_build_identity
.subsections_via_symbols
