	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_mschapv2_build_failure_req
_eap_mschapv2_build_failure_req:        ## @eap_mschapv2_build_failure_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_os_strlen
	movslq	%eax, %rbx
	addq	$12, %rbx
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_MSCHAPV2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EAP_CODE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdx
	movl	%r15d, %r8d
	callq	_eap_msg_alloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_wpabuf_put
	movq	_MSCHAPV2_OP_FAILURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	(%r14), %ecx
	movl	%ecx, 4(%rax)
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_WPA_PUT_BE16
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_os_strlen
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_wpabuf_put_data
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_os_strlen
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_wpa_hexdump_ascii
	jmp	LBB0_3
LBB0_1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"E=691 R=0 C=00000000000000000000000000000000 V=3 M=FAILED"

	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,4,2          ## @EAP_TYPE_MSCHAPV2
	.comm	_EAP_CODE_REQUEST,4,2           ## @EAP_CODE_REQUEST
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"EAP-MSCHAPV2: Failed to allocate memory for request"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_MSCHAPV2_OP_FAILURE,4,2        ## @MSCHAPV2_OP_FAILURE
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.2:                               ## @.str.2
	.asciz	"EAP-MSCHAPV2: Failure Request Message"

	.no_dead_strip	_eap_mschapv2_build_failure_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_mschapv2_build_failure_req
_eap_mschapv2_build_failure_req:        ; @eap_mschapv2_build_failure_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	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_os_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x21, x8, #12
Lloh2:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _EAP_TYPE_MSCHAPV2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAP_TYPE_MSCHAPV2@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _EAP_CODE_REQUEST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_CODE_REQUEST@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x2, x21
	mov	x4, x19
	bl	_eap_msg_alloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #12
	bl	_wpabuf_put
Lloh11:
	adrp	x8, _MSCHAPV2_OP_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSCHAPV2_OP_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20]
	stp	w9, w8, [x0, #4]
	ldr	w0, [x0]
	mov	x1, x21
	bl	_WPA_PUT_BE16
Lloh14:
	adrp	x20, l_.str@PAGE
Lloh15:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_os_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_wpabuf_put_data
Lloh16:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_os_strlen
	mov	x3, x0
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_wpa_hexdump_ascii
	b	LBB0_3
LBB0_2:
Lloh21:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh26:
	adrp	x8, _FAILURE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x20, #4]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"E=691 R=0 C=00000000000000000000000000000000 V=3 M=FAILED"

	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_MSCHAPV2,4,2          ; @EAP_TYPE_MSCHAPV2
	.comm	_EAP_CODE_REQUEST,4,2           ; @EAP_CODE_REQUEST
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"EAP-MSCHAPV2: Failed to allocate memory for request"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_MSCHAPV2_OP_FAILURE,4,2        ; @MSCHAPV2_OP_FAILURE
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.2:                               ; @.str.2
	.asciz	"EAP-MSCHAPV2: Failure Request Message"

	.no_dead_strip	_eap_mschapv2_build_failure_req
.subsections_via_symbols
