	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_pwd_build_id_req
_eap_pwd_build_id_req:                  ## @eap_pwd_build_id_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
	movq	%rsi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpq	$0, 64(%rbx)
	je	LBB0_1
## %bb.16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edi
	addl	$4, %edi
	callq	_wpabuf_alloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	leaq	28(%rbx), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_os_get_random
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	(%r15), %edi
	movl	4(%rbx), %ecx
	movl	60(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump_key
	movq	48(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.5:
	movl	(%r15), %edi
	movl	56(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_hexdump
	cmpq	$0, 48(%rbx)
	je	LBB0_12
## %bb.6:
	movl	4(%rbx), %edx
	cmpl	$64, %edx
	je	LBB0_11
## %bb.7:
	cmpl	$32, %edx
	je	LBB0_10
## %bb.8:
	cmpl	$20, %edx
	jne	LBB0_17
## %bb.9:
	movq	_EAP_PWD_PREP_SSHA1@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_3:
	movq	16(%rbx), %rdi
	callq	_wpabuf_free
	movq	$0, 16(%rbx)
LBB0_18:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_pwd_state                  ## TAILCALL
LBB0_12:
	cmpq	$0, 40(%rbx)
	jne	LBB0_13
## %bb.14:
	movq	_EAP_PWD_PREP_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	_EAP_PWD_PREP_MS@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	movq	_EAP_PWD_PREP_SSHA512@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	_EAP_PWD_PREP_SSHA256@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rdi
	movl	32(%rbx), %esi
	callq	_wpabuf_put_be16
	movq	16(%rbx), %rdi
	movq	_EAP_PWD_DEFAULT_RAND_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpabuf_put_u8
	movq	16(%rbx), %rdi
	movq	_EAP_PWD_DEFAULT_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpabuf_put_u8
	movq	16(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_wpabuf_put_data
	movq	16(%rbx), %rdi
	movl	24(%rbx), %esi
	callq	_wpabuf_put_u8
	movq	16(%rbx), %rdi
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpabuf_put_data                ## TAILCALL
LBB0_17:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-pwd: ID/Request"

	.comm	_FAILURE,4,2                    ## @FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"EAP-pwd (server): password"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-pwd (server): salt"

	.comm	_EAP_PWD_PREP_SSHA1,4,2         ## @EAP_PWD_PREP_SSHA1
	.comm	_EAP_PWD_PREP_SSHA256,4,2       ## @EAP_PWD_PREP_SSHA256
	.comm	_EAP_PWD_PREP_SSHA512,4,2       ## @EAP_PWD_PREP_SSHA512
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"EAP-pwd (server): bad size %d for salted password"

	.comm	_EAP_PWD_PREP_MS,4,2            ## @EAP_PWD_PREP_MS
	.comm	_EAP_PWD_PREP_NONE,4,2          ## @EAP_PWD_PREP_NONE
	.comm	_EAP_PWD_DEFAULT_RAND_FUNC,4,2  ## @EAP_PWD_DEFAULT_RAND_FUNC
	.comm	_EAP_PWD_DEFAULT_PRF,4,2        ## @EAP_PWD_DEFAULT_PRF
	.no_dead_strip	_eap_pwd_build_id_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_pwd_build_id_req
_eap_pwd_build_id_req:                  ; @eap_pwd_build_id_req
	.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	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
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_2
; %bb.1:
	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_2:
	ldr	w8, [x19]
	add	w0, w8, #4
	bl	_wpabuf_alloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.3:
	add	x20, x19, #28
	mov	x0, x20
	mov	w1, #4
	bl	_os_get_random
	tbnz	x0, #63, LBB0_10
; %bb.4:
	ldr	w0, [x21]
	ldr	w2, [x19, #60]
	ldr	w3, [x19, #4]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump_key
	ldr	x3, [x19, #48]
	cbz	x3, LBB0_12
; %bb.5:
	ldr	w0, [x21]
	ldr	w2, [x19, #56]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_hexdump
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_12
; %bb.6:
	ldr	w8, [x19, #4]
	cmp	w8, #64
	b.eq	LBB0_14
; %bb.7:
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.8:
	cmp	w8, #20
	b.ne	LBB0_16
; %bb.9:
Lloh8:
	adrp	x8, _EAP_PWD_PREP_SSHA1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_PWD_PREP_SSHA1@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	ldr	x0, [x19, #16]
	bl	_wpabuf_free
	str	xzr, [x19, #16]
LBB0_11:
Lloh10:
	adrp	x8, _FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	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_pwd_state
LBB0_12:
Lloh13:
	adrp	x8, _EAP_PWD_PREP_MS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAP_PWD_PREP_MS@GOTPAGEOFF]
	ldr	x9, [x19, #40]
Lloh15:
	adrp	x10, _EAP_PWD_PREP_NONE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _EAP_PWD_PREP_NONE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #32]
	bl	_wpabuf_put_be16
	ldr	x0, [x19, #16]
Lloh17:
	adrp	x8, _EAP_PWD_DEFAULT_RAND_FUNC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EAP_PWD_DEFAULT_RAND_FUNC@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_wpabuf_put_u8
	ldr	x0, [x19, #16]
Lloh20:
	adrp	x8, _EAP_PWD_DEFAULT_PRF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EAP_PWD_DEFAULT_PRF@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_wpabuf_put_u8
	ldr	x0, [x19, #16]
	mov	x1, x20
	mov	w2, #4
	bl	_wpabuf_put_data
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #24]
	bl	_wpabuf_put_u8
	ldp	x1, x0, [x19, #8]
	ldr	w2, [x19]
	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	_wpabuf_put_data
LBB0_14:
Lloh23:
	adrp	x8, _EAP_PWD_PREP_SSHA512@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EAP_PWD_PREP_SSHA512@GOTPAGEOFF]
	b	LBB0_13
LBB0_15:
Lloh25:
	adrp	x8, _EAP_PWD_PREP_SSHA256@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EAP_PWD_PREP_SSHA256@GOTPAGEOFF]
	b	LBB0_13
LBB0_16:
Lloh27:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_11
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-pwd: ID/Request"

	.comm	_FAILURE,4,2                    ; @FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"EAP-pwd (server): password"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-pwd (server): salt"

	.comm	_EAP_PWD_PREP_SSHA1,4,2         ; @EAP_PWD_PREP_SSHA1
	.comm	_EAP_PWD_PREP_SSHA256,4,2       ; @EAP_PWD_PREP_SSHA256
	.comm	_EAP_PWD_PREP_SSHA512,4,2       ; @EAP_PWD_PREP_SSHA512
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"EAP-pwd (server): bad size %d for salted password"

	.comm	_EAP_PWD_PREP_MS,4,2            ; @EAP_PWD_PREP_MS
	.comm	_EAP_PWD_PREP_NONE,4,2          ; @EAP_PWD_PREP_NONE
	.comm	_EAP_PWD_DEFAULT_RAND_FUNC,4,2  ; @EAP_PWD_DEFAULT_RAND_FUNC
	.comm	_EAP_PWD_DEFAULT_PRF,4,2        ; @EAP_PWD_DEFAULT_PRF
	.no_dead_strip	_eap_pwd_build_id_req
.subsections_via_symbols
