	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_umts_auth
_eap_aka_umts_auth:                     ## @eap_aka_umts_auth
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_eap_get_config
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 24(%rax)
	je	LBB0_3
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_aka_ext_sim_result         ## TAILCALL
LBB0_4:
	cmpq	$0, 16(%rax)
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	movl	36(%r14), %esi
	movl	4(%r14), %edx
	movq	24(%r14), %rcx
	movq	16(%r14), %r9
	movl	32(%r14), %eax
	movq	%r14, %r8
	pushq	%rax
	pushq	8(%r14)
	callq	_scard_umts_auth
	addq	$24, %rsp
	jmp	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_aka_ext_sim_req            ## TAILCALL
LBB0_6:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_7:
	movl	$-1, %eax
	addq	$8, %rsp
LBB0_8:
	popq	%rbx
	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-AKA: UMTS authentication algorithm"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: No UMTS authentication algorithm enabled"

	.comm	_EAP_AKA_AUTN_LEN,4,2           ## @EAP_AKA_AUTN_LEN
	.comm	_EAP_AKA_CK_LEN,4,2             ## @EAP_AKA_CK_LEN
	.comm	_EAP_AKA_IK_LEN,4,2             ## @EAP_AKA_IK_LEN
	.comm	_EAP_AKA_RES_MAX_LEN,4,2        ## @EAP_AKA_RES_MAX_LEN
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.no_dead_strip	_eap_aka_umts_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_aka_umts_auth
_eap_aka_umts_auth:                     ; @eap_aka_umts_auth
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_eap_get_config
	cbz	x0, LBB0_8
; %bb.1:
	mov	x2, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x2, #24]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	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
	b	_eap_aka_ext_sim_result
LBB0_4:
	ldr	x8, [x2, #16]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w0, [x20]
	ldr	w2, [x19, #4]
	ldp	x5, x3, [x19, #16]
	ldr	x6, [x19, #8]
	ldp	w7, w1, [x19, #32]
	mov	x4, x19
	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
	b	_scard_umts_auth
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	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
	b	_eap_aka_ext_sim_req
LBB0_7:
	ldr	w0, [x21]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_8:
	mov	w0, #-1
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: UMTS authentication algorithm"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: No UMTS authentication algorithm enabled"

	.comm	_EAP_AKA_AUTN_LEN,4,2           ; @EAP_AKA_AUTN_LEN
	.comm	_EAP_AKA_CK_LEN,4,2             ; @EAP_AKA_CK_LEN
	.comm	_EAP_AKA_IK_LEN,4,2             ; @EAP_AKA_IK_LEN
	.comm	_EAP_AKA_RES_MAX_LEN,4,2        ; @EAP_AKA_RES_MAX_LEN
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.no_dead_strip	_eap_aka_umts_auth
.subsections_via_symbols
