	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aka_auts
_aka_auts:                              ## @aka_auts
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_AKA_AUTS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_EAP_AKA_RAND_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movb	$0, (%rbx)
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_strchr
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	incq	%rbx
	movb	$0, (%rax)
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	movq	_stdout_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_printf
LBB0_4:
	movq	_EAP_AKA_AUTS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rbx
	movq	%r15, %rsi
	callq	_hexstr2bin
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_EAP_AKA_RAND_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_hexstr2bin
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	leaq	L_str.5(%rip), %rdi
	callq	_puts
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r13, %rdi
	callq	_get_milenage
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r15
	movl	4(%rax), %esi
	movl	8(%rax), %edi
	leaq	-80(%rbp), %r8
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_milenage_auts
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_11:
	movl	(%r15), %edi
	leaq	-80(%rbp), %rsi
	movl	$6, %edx
	callq	_memcpy
	movq	_stdout_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movl	-80(%rbp), %esi
	movl	-76(%rbp), %edx
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %r8d
	movl	-64(%rbp), %r9d
	movl	-60(%rbp), %ebx
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	pushq	%rbx
	callq	_printf
	addq	$16, %rsp
LBB0_13:
	movq	_sqn_changes@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_14:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_AKA_AUTS_LEN,4,2           ## @EAP_AKA_AUTS_LEN
	.comm	_EAP_AKA_RAND_LEN,4,2           ## @EAP_AKA_RAND_LEN
	.comm	_stdout_debug,8,3               ## @stdout_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AKA-AUTS: IMSI=%s AUTS=%s RAND=%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown IMSI: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"AKA-AUTS: Re-synchronized: SQN=%02x%02x%02x%02x%02x%02x\n"

	.comm	_sqn_changes,4,2                ## @sqn_changes
L_str:                                  ## @str
	.asciz	"AKA-AUTS: Incorrect MAC-S"

L_str.5:                                ## @str.5
	.asciz	"Could not parse AUTS/RAND"

	.no_dead_strip	_aka_auts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aka_auts
_aka_auts:                              ; @aka_auts
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	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	x24, _EAP_AKA_AUTS_LEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _EAP_AKA_AUTS_LEN@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x25, _EAP_AKA_RAND_LEN@GOTPAGE
Lloh8:
	ldr	x25, [x25, _EAP_AKA_RAND_LEN@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	strb	wzr, [x1]
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
	strb	wzr, [x22], #1
	mov	x0, x22
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.2:
	mov	x23, x0
	strb	wzr, [x23], #1
Lloh11:
	adrp	x26, _stdout_debug@GOTPAGE
Lloh12:
	ldr	x26, [x26, _stdout_debug@GOTPAGEOFF]
	ldr	x8, [x26]
	cbz	x8, LBB0_4
; %bb.3:
	sub	sp, sp, #32
	stp	x22, x23, [sp, #8]
	str	x19, [sp]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	add	sp, sp, #32
LBB0_4:
	ldr	w2, [x24]
	mov	x0, x22
	mov	x1, x20
	bl	_hexstr2bin
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w2, [x25]
	mov	x0, x23
	mov	x1, x21
	bl	_hexstr2bin
	cbz	x0, LBB0_10
LBB0_6:
Lloh15:
	adrp	x0, l_str.5@PAGE
Lloh16:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.9:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	bl	_get_milenage
	cbz	x0, LBB0_13
; %bb.11:
	mov	x22, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x22, #4]
	sub	x4, x29, #96
	mov	x2, x21
	mov	x3, x20
	bl	_milenage_auts
	cbz	x0, LBB0_14
; %bb.12:
Lloh20:
	adrp	x0, l_str@PAGE
Lloh21:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #0
	b	LBB0_8
LBB0_13:
	str	x19, [sp, #-16]!
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	b	LBB0_7
LBB0_14:
	ldr	w0, [x22]
	sub	x1, x29, #96
	mov	w2, #6
	bl	_memcpy
	ldr	x8, [x26]
	cbz	x8, LBB0_16
; %bb.15:
	ldp	w8, w9, [x29, #-96]
	ldp	w10, w11, [x29, #-88]
	ldp	w12, w13, [x29, #-80]
	sub	sp, sp, #48
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	add	sp, sp, #48
LBB0_16:
	mov	w0, #0
Lloh26:
	adrp	x8, _sqn_changes@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sqn_changes@GOTPAGEOFF]
	mov	w9, #1
Lloh28:
	str	w9, [x8]
	b	LBB0_8
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_AKA_AUTS_LEN,4,2           ; @EAP_AKA_AUTS_LEN
	.comm	_EAP_AKA_RAND_LEN,4,2           ; @EAP_AKA_RAND_LEN
	.comm	_stdout_debug,8,3               ; @stdout_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AKA-AUTS: IMSI=%s AUTS=%s RAND=%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown IMSI: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"AKA-AUTS: Re-synchronized: SQN=%02x%02x%02x%02x%02x%02x\n"

	.comm	_sqn_changes,4,2                ; @sqn_changes
l_str:                                  ; @str
	.asciz	"AKA-AUTS: Incorrect MAC-S"

l_str.5:                                ; @str.5
	.asciz	"Could not parse AUTS/RAND"

	.no_dead_strip	_aka_auts
.subsections_via_symbols
