	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_response_challenge
_eap_aka_response_challenge:            ## @eap_aka_response_challenge
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %edx
	movq	_EAP_AKA_SUBTYPE_CHALLENGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %esi
	callq	_eap_sim_msg_init
	movq	%rax, %r14
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_SIM_AT_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %r8d
	leal	(,%r8,8), %edx
	movq	24(%r15), %rcx
	movq	%r14, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_eap_sim_msg_add
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_eap_aka_add_checkcode
	cmpq	$0, 16(%r15)
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_SIM_AT_RESULT_IND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_eap_sim_msg_add
LBB0_2:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_SIM_AT_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_sim_msg_add_mac
	movl	4(%r15), %edx
	movl	8(%r15), %esi
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_sim_msg_finish             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Generating EAP-AKA Challenge (id=%d)"

	.comm	_EAP_CODE_RESPONSE,4,2          ## @EAP_CODE_RESPONSE
	.comm	_EAP_AKA_SUBTYPE_CHALLENGE,4,2  ## @EAP_AKA_SUBTYPE_CHALLENGE
L_.str.1:                               ## @.str.1
	.asciz	"   AT_RES"

	.comm	_EAP_SIM_AT_RES,4,2             ## @EAP_SIM_AT_RES
L_.str.2:                               ## @.str.2
	.asciz	"   AT_RESULT_IND"

	.comm	_EAP_SIM_AT_RESULT_IND,4,2      ## @EAP_SIM_AT_RESULT_IND
L_.str.3:                               ## @.str.3
	.asciz	"   AT_MAC"

	.comm	_EAP_SIM_AT_MAC,4,2             ## @EAP_SIM_AT_MAC
L_.str.4:                               ## @.str.4
	.space	1

	.no_dead_strip	_eap_aka_response_challenge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_aka_response_challenge
_eap_aka_response_challenge:            ; @eap_aka_response_challenge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x21]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh4:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh7:
	adrp	x8, _EAP_AKA_SUBTYPE_CHALLENGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EAP_AKA_SUBTYPE_CHALLENGE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x1, x20
	bl	_eap_sim_msg_init
	mov	x20, x0
	ldr	w0, [x21]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh12:
	adrp	x8, _EAP_SIM_AT_RES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAP_SIM_AT_RES@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w4, [x19]
	lsl	w2, w4, #3
	ldr	x3, [x19, #24]
	mov	x0, x20
	bl	_eap_sim_msg_add
	mov	x0, x19
	mov	x1, x20
	bl	_eap_aka_add_checkcode
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x21]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh17:
	adrp	x8, _EAP_SIM_AT_RESULT_IND@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EAP_SIM_AT_RESULT_IND@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_eap_sim_msg_add
LBB0_2:
	ldr	w0, [x21]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
Lloh22:
	adrp	x8, _EAP_SIM_AT_MAC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EAP_SIM_AT_MAC@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_sim_msg_add_mac
Lloh25:
	adrp	x3, l_.str.4@PAGE
Lloh26:
	add	x3, x3, l_.str.4@PAGEOFF
	ldp	w2, w1, [x19, #4]
	mov	x0, x20
	mov	w4, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_eap_sim_msg_finish
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Generating EAP-AKA Challenge (id=%d)"

	.comm	_EAP_CODE_RESPONSE,4,2          ; @EAP_CODE_RESPONSE
	.comm	_EAP_AKA_SUBTYPE_CHALLENGE,4,2  ; @EAP_AKA_SUBTYPE_CHALLENGE
l_.str.1:                               ; @.str.1
	.asciz	"   AT_RES"

	.comm	_EAP_SIM_AT_RES,4,2             ; @EAP_SIM_AT_RES
l_.str.2:                               ; @.str.2
	.asciz	"   AT_RESULT_IND"

	.comm	_EAP_SIM_AT_RESULT_IND,4,2      ; @EAP_SIM_AT_RESULT_IND
l_.str.3:                               ; @.str.3
	.asciz	"   AT_MAC"

	.comm	_EAP_SIM_AT_MAC,4,2             ; @EAP_SIM_AT_MAC
l_.str.4:                               ; @.str.4
	.space	1

	.no_dead_strip	_eap_aka_response_challenge
.subsections_via_symbols
