	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sim_ext_sim_req
_eap_sim_ext_sim_req:                   ## @eap_sim_ext_sim_req
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, -264(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	leaq	L_.str.1(%rip), %rdx
	leaq	-256(%rbp), %rdi
	movl	$200, %esi
	callq	_os_snprintf
	cmpq	$0, (%r12)
	je	LBB0_3
## %bb.1:
	leaq	-56(%rbp), %r14
	cltq
	leaq	(%rax,%rbp), %rbx
	addq	$-256, %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rdx
	callq	_os_snprintf
	movslq	%eax, %r13
	addq	%rbx, %r13
	movl	%r14d, %esi
	subl	%r13d, %esi
	movq	8(%r12), %rax
	movl	(%rax,%r15,4), %edx
	movq	_GSM_RAND_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_wpa_snprintf_hex
	movslq	%eax, %rbx
	addq	%r13, %rbx
	incq	%r15
	cmpq	(%r12), %r15
	jb	LBB0_2
LBB0_3:
	leaq	-256(%rbp), %rsi
	movq	-264(%rbp), %rdi                ## 8-byte Reload
	callq	_eap_sm_request_sim
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	$1, %eax
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	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: Use external SIM processing"

L_.str.1:                               ## @.str.1
	.asciz	"GSM-AUTH"

L_.str.2:                               ## @.str.2
	.asciz	":"

	.comm	_GSM_RAND_LEN,4,2               ## @GSM_RAND_LEN
	.no_dead_strip	_eap_sim_ext_sim_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sim_ext_sim_req
_eap_sim_ext_sim_req:                   ; @eap_sim_ext_sim_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x21, sp
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, sp
	mov	w1, #200
	bl	_os_snprintf
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x23, #0
	add	x24, x21, #200
	add	x22, x21, w0, sxtw
Lloh10:
	adrp	x25, _GSM_RAND_LEN@GOTPAGE
Lloh11:
	ldr	x25, [x25, _GSM_RAND_LEN@GOTPAGEOFF]
Lloh12:
	adrp	x21, l_.str.2@PAGE
Lloh13:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w24, w22
	mov	x0, x22
	mov	x2, x21
	bl	_os_snprintf
	add	x22, x22, w0, sxtw
	sub	w1, w24, w22
	ldr	x8, [x20, #8]
	ldr	w2, [x8, x23, lsl #2]
	ldr	w3, [x25]
	mov	x0, x22
	bl	_wpa_snprintf_hex
	add	x22, x22, w0, sxtw
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.lo	LBB0_2
LBB0_3:
	mov	x1, sp
	mov	x0, x19
	bl	_eap_sm_request_sim
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #1
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SIM: Use external SIM processing"

l_.str.1:                               ; @.str.1
	.asciz	"GSM-AUTH"

l_.str.2:                               ; @.str.2
	.asciz	":"

	.comm	_GSM_RAND_LEN,4,2               ; @GSM_RAND_LEN
	.no_dead_strip	_eap_sim_ext_sim_req
.subsections_via_symbols
