	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_teap_build_phase2_req
_eap_teap_build_phase2_req:             ## @eap_teap_build_phase2_req
	.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
	movq	%rdi, %rbx
	cmpl	$1, (%rdi)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$4, %edi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	movq	_TEAP_TLV_BASIC_PASSWORD_AUTH_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_eap_teap_put_tlv_hdr
	jmp	LBB0_9
LBB0_3:
	movl	%edx, %r14d
	movq	%rsi, %r15
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	(%r15), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.4:
	movq	8(%r15), %rax
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump_buf_key
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_teap_tlv_eap_payload       ## TAILCALL
LBB0_7:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	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-TEAP: Initiate Basic-Password-Auth"

	.comm	_TEAP_TLV_BASIC_PASSWORD_AUTH_REQ,4,2 ## @TEAP_TLV_BASIC_PASSWORD_AUTH_REQ
L_.str.1:                               ## @.str.1
	.asciz	"EAP-TEAP: Initiate inner EAP method"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-TEAP: Phase 2 method not initialized"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.3:                               ## @.str.3
	.asciz	"EAP-TEAP: Phase 2 EAP-Request"

	.no_dead_strip	_eap_teap_build_phase2_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_teap_build_phase2_req
_eap_teap_build_phase2_req:             ; @eap_teap_build_phase2_req
	.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	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #4
	bl	_wpabuf_alloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x8, _TEAP_TLV_BASIC_PASSWORD_AUTH_REQ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TEAP_TLV_BASIC_PASSWORD_AUTH_REQ@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_eap_teap_put_tlv_hdr
	b	LBB0_7
LBB0_3:
	mov	x19, x2
	mov	x21, x1
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	w1, [x21]
	cbz	w1, LBB0_6
; %bb.4:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x2, x19
	blr	x8
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.5:
Lloh9:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump_buf_key
	mov	x0, 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_teap_tlv_eap_payload
LBB0_6:
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x19, #0
LBB0_7:
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TEAP: Initiate Basic-Password-Auth"

	.comm	_TEAP_TLV_BASIC_PASSWORD_AUTH_REQ,4,2 ; @TEAP_TLV_BASIC_PASSWORD_AUTH_REQ
l_.str.1:                               ; @.str.1
	.asciz	"EAP-TEAP: Initiate inner EAP method"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-TEAP: Phase 2 method not initialized"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.3:                               ; @.str.3
	.asciz	"EAP-TEAP: Phase 2 EAP-Request"

	.no_dead_strip	_eap_teap_build_phase2_req
.subsections_via_symbols
