	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sim_init_for_reauth
_eap_sim_init_for_reauth:               ## @eap_sim_init_for_reauth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rsi), %edi
	movq	_EAP_SIM_NONCE_MT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_random_get_bytes
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_eap_sim_deinit
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_eap_sim_state
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_SIM_NONCE_MT_LEN,4,2       ## @EAP_SIM_NONCE_MT_LEN
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-SIM: Failed to get random data for NONCE_MT"

	.comm	_CONTINUE,4,2                   ## @CONTINUE
	.no_dead_strip	_eap_sim_init_for_reauth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sim_init_for_reauth
_eap_sim_init_for_reauth:               ; @eap_sim_init_for_reauth
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1, #16]
Lloh0:
	adrp	x8, _EAP_SIM_NONCE_MT_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_SIM_NONCE_MT_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_random_get_bytes
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x19
	bl	_eap_sim_deinit
	mov	x19, #0
	b	LBB0_3
LBB0_2:
	stp	xzr, xzr, [x19]
Lloh8:
	adrp	x8, _CONTINUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CONTINUE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_sim_state
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_SIM_NONCE_MT_LEN,4,2       ; @EAP_SIM_NONCE_MT_LEN
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-SIM: Failed to get random data for NONCE_MT"

	.comm	_CONTINUE,4,2                   ; @CONTINUE
	.no_dead_strip	_eap_sim_init_for_reauth
.subsections_via_symbols
