	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_build_notification
_eap_aka_build_notification:            ## @eap_aka_build_notification
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_CODE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	movq	_EAP_AKA_SUBTYPE_NOTIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	callq	_eap_sim_msg_init
	movq	%rax, %r14
	movl	(%r15), %edi
	movl	32(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_SIM_AT_NOTIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%rbx), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_eap_sim_msg_add
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_SIM_AT_IV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EAP_SIM_AT_ENCR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_eap_sim_msg_add_encr_start
	movl	(%r15), %edi
	movl	12(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_SIM_AT_COUNTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_eap_sim_msg_add
	movl	8(%rbx), %esi
	movq	_EAP_SIM_AT_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_eap_sim_msg_add_encr_end
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
	callq	_eap_sim_msg_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r15), %edi
	leaq	L_.str.6(%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
LBB0_4:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	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	"EAP-AKA: Generating Notification"

	.comm	_EAP_CODE_REQUEST,4,2           ## @EAP_CODE_REQUEST
	.comm	_EAP_AKA_SUBTYPE_NOTIFICATION,4,2 ## @EAP_AKA_SUBTYPE_NOTIFICATION
L_.str.1:                               ## @.str.1
	.asciz	"   AT_NOTIFICATION (%d)"

	.comm	_EAP_SIM_AT_NOTIFICATION,4,2    ## @EAP_SIM_AT_NOTIFICATION
L_.str.2:                               ## @.str.2
	.asciz	"   AT_IV"

L_.str.3:                               ## @.str.3
	.asciz	"   AT_ENCR_DATA"

	.comm	_EAP_SIM_AT_IV,4,2              ## @EAP_SIM_AT_IV
	.comm	_EAP_SIM_AT_ENCR_DATA,4,2       ## @EAP_SIM_AT_ENCR_DATA
L_.str.4:                               ## @.str.4
	.asciz	"   *AT_COUNTER (%u)"

	.comm	_EAP_SIM_AT_COUNTER,4,2         ## @EAP_SIM_AT_COUNTER
	.comm	_EAP_SIM_AT_PADDING,4,2         ## @EAP_SIM_AT_PADDING
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.5:                               ## @.str.5
	.asciz	"EAP-AKA: Failed to encrypt AT_ENCR_DATA"

L_.str.6:                               ## @.str.6
	.asciz	"   AT_MAC"

	.comm	_EAP_SIM_AT_MAC,4,2             ## @EAP_SIM_AT_MAC
	.no_dead_strip	_eap_aka_build_notification
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_aka_build_notification
_eap_aka_build_notification:            ; @eap_aka_build_notification
	.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, x2
	mov	x19, x1
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
Lloh4:
	adrp	x8, _EAP_CODE_REQUEST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EAP_CODE_REQUEST@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
Lloh7:
	adrp	x8, _EAP_AKA_SUBTYPE_NOTIFICATION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EAP_AKA_SUBTYPE_NOTIFICATION@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x1, x20
	bl	_eap_sim_msg_init
	mov	x20, x0
	ldr	w0, [x21]
	ldr	w8, [x19, #32]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh12:
	adrp	x8, _EAP_SIM_AT_NOTIFICATION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAP_SIM_AT_NOTIFICATION@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x19, #32]
	mov	x0, x20
	mov	x3, #0
	mov	w4, #0
	bl	_eap_sim_msg_add
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x21]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x21]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
Lloh19:
	adrp	x8, _EAP_SIM_AT_IV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EAP_SIM_AT_IV@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _EAP_SIM_AT_ENCR_DATA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EAP_SIM_AT_ENCR_DATA@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_eap_sim_msg_add_encr_start
	ldr	w0, [x21]
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
Lloh27:
	adrp	x8, _EAP_SIM_AT_COUNTER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EAP_SIM_AT_COUNTER@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x20
	mov	x3, #0
	mov	w4, #0
	bl	_eap_sim_msg_add
	ldr	w1, [x19, #8]
Lloh30:
	adrp	x8, _EAP_SIM_AT_PADDING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EAP_SIM_AT_PADDING@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_eap_sim_msg_add_encr_end
	cbz	x0, LBB0_4
; %bb.3:
Lloh33:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_eap_sim_msg_free
	mov	x0, #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
	ret
LBB0_4:
	ldr	w0, [x21]
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
Lloh40:
	adrp	x8, _EAP_SIM_AT_MAC@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EAP_SIM_AT_MAC@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_sim_msg_add_mac
LBB0_5:
	ldp	w2, w1, [x19]
	mov	x0, x20
	mov	x3, #0
	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	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: Generating Notification"

	.comm	_EAP_CODE_REQUEST,4,2           ; @EAP_CODE_REQUEST
	.comm	_EAP_AKA_SUBTYPE_NOTIFICATION,4,2 ; @EAP_AKA_SUBTYPE_NOTIFICATION
l_.str.1:                               ; @.str.1
	.asciz	"   AT_NOTIFICATION (%d)"

	.comm	_EAP_SIM_AT_NOTIFICATION,4,2    ; @EAP_SIM_AT_NOTIFICATION
l_.str.2:                               ; @.str.2
	.asciz	"   AT_IV"

l_.str.3:                               ; @.str.3
	.asciz	"   AT_ENCR_DATA"

	.comm	_EAP_SIM_AT_IV,4,2              ; @EAP_SIM_AT_IV
	.comm	_EAP_SIM_AT_ENCR_DATA,4,2       ; @EAP_SIM_AT_ENCR_DATA
l_.str.4:                               ; @.str.4
	.asciz	"   *AT_COUNTER (%u)"

	.comm	_EAP_SIM_AT_COUNTER,4,2         ; @EAP_SIM_AT_COUNTER
	.comm	_EAP_SIM_AT_PADDING,4,2         ; @EAP_SIM_AT_PADDING
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.5:                               ; @.str.5
	.asciz	"EAP-AKA: Failed to encrypt AT_ENCR_DATA"

l_.str.6:                               ; @.str.6
	.asciz	"   AT_MAC"

	.comm	_EAP_SIM_AT_MAC,4,2             ; @EAP_SIM_AT_MAC
	.no_dead_strip	_eap_aka_build_notification
.subsections_via_symbols
