	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_phase2_nak        ## -- Begin function eap_peer_tls_phase2_nak
	.p2align	4, 0x90
_eap_peer_tls_phase2_nak:               ## @eap_peer_tls_phase2_nak
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	4(%rdx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%r13), %edi
	movq	%r15, %rcx
	shlq	$4, %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	_EAP_TYPE_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r12), %r8d
	movq	%r15, %rdx
	callq	_eap_msg_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testq	%r15, %r15
	je	LBB0_9
## %bb.3:
	addq	$8, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rbx
	decq	%r15
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %esi
	cmpl	$255, %esi
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rdi
	callq	_wpabuf_put_u8
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_8:
	movq	(%r14), %rax
LBB0_9:
	movq	%rax, %rdi
	callq	_eap_update_len
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"TLS: Phase 2 Request: Nak type=%d"

L_.str.1:                               ## @.str.1
	.asciz	"TLS: Allowed Phase2 EAP types"

	.comm	_EAP_VENDOR_IETF,8,3            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_NAK,4,2               ## @EAP_TYPE_NAK
	.comm	_EAP_CODE_RESPONSE,4,2          ## @EAP_CODE_RESPONSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_phase2_nak        ; -- Begin function eap_peer_tls_phase2_nak
	.p2align	2
_eap_peer_tls_phase2_nak:               ; @eap_peer_tls_phase2_nak
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x2, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x23]
	lsl	x3, x20, #4
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump
Lloh6:
	adrp	x23, _EAP_VENDOR_IETF@GOTPAGE
Lloh7:
	ldr	x23, [x23, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh8:
	adrp	x8, _EAP_TYPE_NAK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_TYPE_NAK@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	ldr	w4, [x22]
	mov	x2, x20
	bl	_eap_msg_alloc
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.1:
	cbz	x20, LBB0_9
; %bb.2:
	add	x21, x21, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #16
	subs	x20, x20, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x21, #-8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x21]
	cmp	w1, #255
	b.gt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	bl	_wpabuf_put_u8
	b	LBB0_3
LBB0_7:
	mov	w0, #-1
	b	LBB0_10
LBB0_8:
	ldr	x0, [x19]
LBB0_9:
	bl	_eap_update_len
	mov	w0, #0
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLS: Phase 2 Request: Nak type=%d"

l_.str.1:                               ; @.str.1
	.asciz	"TLS: Allowed Phase2 EAP types"

	.comm	_EAP_VENDOR_IETF,8,3            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_NAK,4,2               ; @EAP_TYPE_NAK
	.comm	_EAP_CODE_RESPONSE,4,2          ; @EAP_CODE_RESPONSE
.subsections_via_symbols
