	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sim_build_start
_eap_sim_build_start:                   ## @eap_sim_build_start
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_CODE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_SIM@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_EAP_SIM_SUBTYPE_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	callq	_eap_sim_msg_init
	movq	%rax, %r15
	movl	(%rbx), %ecx
	leal	1(%rcx), %eax
	movl	%eax, (%rbx)
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	cmpl	$3, %ecx
	jl	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_eap_sim_msg_free
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_1:
	movq	_EAP_SIM_AT_ANY_ID_REQ@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_4:
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	cmpq	$0, 8(%r14)
	jle	LBB0_9
## %bb.7:
	movq	(%rax), %rax
	movq	_EAP_SIM_REAUTH_ID_PREFIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_EAP_SIM_AT_FULLAUTH_ID_REQ@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_10
LBB0_9:
	movq	_EAP_SIM_AT_PERMANENT_ID_REQ@GOTPCREL(%rip), %rbx
	leaq	L_.str.3(%rip), %rsi
LBB0_10:
	movl	(%r13), %edi
	callq	_wpa_printf
	movl	(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_eap_sim_msg_add
LBB0_11:
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_wpa_printf
	movq	$0, -64(%rbp)
	movq	_EAP_SIM_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_EAP_SIM_AT_VERSION_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movl	$16, %edx
	movl	$16, %r8d
	callq	_eap_sim_msg_add
	movl	(%r12), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_eap_sim_msg_finish
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-SIM: Generating Start"

	.comm	_EAP_CODE_REQUEST,4,2           ## @EAP_CODE_REQUEST
	.comm	_EAP_TYPE_SIM,4,2               ## @EAP_TYPE_SIM
	.comm	_EAP_SIM_SUBTYPE_START,4,2      ## @EAP_SIM_SUBTYPE_START
L_.str.1:                               ## @.str.1
	.asciz	"   AT_ANY_ID_REQ"

	.comm	_EAP_SIM_AT_ANY_ID_REQ,4,2      ## @EAP_SIM_AT_ANY_ID_REQ
	.comm	_EAP_SIM_REAUTH_ID_PREFIX,8,3   ## @EAP_SIM_REAUTH_ID_PREFIX
L_.str.2:                               ## @.str.2
	.asciz	"   AT_FULLAUTH_ID_REQ"

	.comm	_EAP_SIM_AT_FULLAUTH_ID_REQ,4,2 ## @EAP_SIM_AT_FULLAUTH_ID_REQ
L_.str.3:                               ## @.str.3
	.asciz	"   AT_PERMANENT_ID_REQ"

	.comm	_EAP_SIM_AT_PERMANENT_ID_REQ,4,2 ## @EAP_SIM_AT_PERMANENT_ID_REQ
L_.str.4:                               ## @.str.4
	.asciz	"   AT_VERSION_LIST"

	.comm	_EAP_SIM_VERSION,8,3            ## @EAP_SIM_VERSION
	.comm	_EAP_SIM_AT_VERSION_LIST,4,2    ## @EAP_SIM_AT_VERSION_LIST
	.no_dead_strip	_eap_sim_build_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sim_build_start
_eap_sim_build_start:                   ; @eap_sim_build_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh7:
	adrp	x8, _EAP_CODE_REQUEST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EAP_CODE_REQUEST@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x22, _EAP_TYPE_SIM@GOTPAGE
Lloh11:
	ldr	x22, [x22, _EAP_TYPE_SIM@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh12:
	adrp	x8, _EAP_SIM_SUBTYPE_START@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAP_SIM_SUBTYPE_START@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x1, x19
	bl	_eap_sim_msg_init
	mov	x19, x0
	ldr	w9, [x21]
	add	w8, w9, #1
	str	w8, [x21]
	cbz	w9, LBB0_3
; %bb.1:
	cmp	w9, #3
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_eap_sim_msg_free
	mov	x0, #0
	b	LBB0_12
LBB0_3:
Lloh15:
	adrp	x20, _EAP_SIM_AT_ANY_ID_REQ@GOTPAGE
Lloh16:
	ldr	x20, [x20, _EAP_SIM_AT_ANY_ID_REQ@GOTPAGEOFF]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_4:
	cbz	w8, LBB0_11
; %bb.5:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x9, [x20, #8]
	cmp	x9, #1
	b.lt	LBB0_9
; %bb.7:
	ldr	x8, [x8]
Lloh19:
	adrp	x9, _EAP_SIM_REAUTH_ID_PREFIX@GOTPAGE
Lloh20:
	ldr	x9, [x9, _EAP_SIM_REAUTH_ID_PREFIX@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh22:
	adrp	x20, _EAP_SIM_AT_FULLAUTH_ID_REQ@GOTPAGE
Lloh23:
	ldr	x20, [x20, _EAP_SIM_AT_FULLAUTH_ID_REQ@GOTPAGEOFF]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh26:
	adrp	x20, _EAP_SIM_AT_PERMANENT_ID_REQ@GOTPAGE
Lloh27:
	ldr	x20, [x20, _EAP_SIM_AT_PERMANENT_ID_REQ@GOTPAGEOFF]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_10:
	ldr	w0, [x23]
	bl	_wpa_printf
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_eap_sim_msg_add
LBB0_11:
	ldr	w0, [x23]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
Lloh32:
	adrp	x8, _EAP_SIM_VERSION@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EAP_SIM_VERSION@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #8]
Lloh35:
	adrp	x8, _EAP_SIM_AT_VERSION_LIST@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EAP_SIM_AT_VERSION_LIST@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #16
	mov	w4, #16
	bl	_eap_sim_msg_add
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_eap_sim_msg_finish
LBB0_12:
	ldr	x8, [sp, #24]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SIM: Generating Start"

	.comm	_EAP_CODE_REQUEST,4,2           ; @EAP_CODE_REQUEST
	.comm	_EAP_TYPE_SIM,4,2               ; @EAP_TYPE_SIM
	.comm	_EAP_SIM_SUBTYPE_START,4,2      ; @EAP_SIM_SUBTYPE_START
l_.str.1:                               ; @.str.1
	.asciz	"   AT_ANY_ID_REQ"

	.comm	_EAP_SIM_AT_ANY_ID_REQ,4,2      ; @EAP_SIM_AT_ANY_ID_REQ
	.comm	_EAP_SIM_REAUTH_ID_PREFIX,8,3   ; @EAP_SIM_REAUTH_ID_PREFIX
l_.str.2:                               ; @.str.2
	.asciz	"   AT_FULLAUTH_ID_REQ"

	.comm	_EAP_SIM_AT_FULLAUTH_ID_REQ,4,2 ; @EAP_SIM_AT_FULLAUTH_ID_REQ
l_.str.3:                               ; @.str.3
	.asciz	"   AT_PERMANENT_ID_REQ"

	.comm	_EAP_SIM_AT_PERMANENT_ID_REQ,4,2 ; @EAP_SIM_AT_PERMANENT_ID_REQ
l_.str.4:                               ; @.str.4
	.asciz	"   AT_VERSION_LIST"

	.comm	_EAP_SIM_VERSION,8,3            ; @EAP_SIM_VERSION
	.comm	_EAP_SIM_AT_VERSION_LIST,4,2    ; @EAP_SIM_AT_VERSION_LIST
	.no_dead_strip	_eap_sim_build_start
.subsections_via_symbols
