	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sha256_prf_bits                ## -- Begin function sha256_prf_bits
	.p2align	4, 0x90
_sha256_prf_bits:                       ## @sha256_prf_bits
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -136(%rbp)                 ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	leaq	7(%r13), %r12
	leaq	-120(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	$2, -112(%rbp)
	movq	%rbx, -72(%rbp)
	movq	%rbx, %rdi
	callq	_os_strlen
	movq	%rax, -104(%rbp)
	movq	%r15, -64(%rbp)
	movq	%r14, -96(%rbp)
	leaq	-128(%rbp), %rdi
	movq	%rdi, -56(%rbp)
	movq	$8, -88(%rbp)
	movq	%r13, %rsi
	callq	_WPA_PUT_LE16
	cmpq	$8, %r12
	jae	LBB0_2
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_2:
	shrq	$3, %r12
	movl	$1, %r14d
	xorl	%r13d, %r13d
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %r15
	subq	%r13, %r15
	leaq	-120(%rbp), %rdi
	movq	%r14, %rsi
	callq	_WPA_PUT_LE16
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13,4), %r9
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	movl	$4, %edx
	leaq	-80(%rbp), %rcx
	leaq	-112(%rbp), %r8
	callq	_hmac_sha256_vector
	testq	%rax, %rax
	js	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	addq	%rax, %r13
	incq	%r14
	cmpq	%r13, %r12
	ja	LBB0_3
	jmp	LBB0_8
LBB0_6:
	leaq	-80(%rbp), %rcx
	leaq	-112(%rbp), %r8
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	movl	$4, %edx
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r9
	callq	_hmac_sha256_vector
	testq	%rax, %rax
	js	LBB0_14
## %bb.7:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13,4), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_os_memcpy
	movq	%r12, %r13
LBB0_8:
	movq	16(%rbp), %rax
	andq	$7, %rax
	je	LBB0_10
## %bb.9:
	movb	$8, %cl
	subb	%al, %cl
	movl	$255, %eax
	shll	%cl, %eax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	andl	%eax, -4(%rcx,%r13,4)
LBB0_10:
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	shll	$2, %esi
	movq	-144(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_forced_memzero
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_14:
	movl	$-1, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA256_MAC_LEN,4,2             ## @SHA256_MAC_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sha256_prf_bits                ; -- Begin function sha256_prf_bits
	.p2align	2
_sha256_prf_bits:                       ; @sha256_prf_bits
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
	mov	x20, x6
	mov	x19, x5
	mov	x24, x4
	mov	x25, x3
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _SHA256_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _SHA256_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x27]
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	add	x26, x6, #7
	mov	w8, #2
	stur	x8, [x29, #-152]
	sub	x8, x29, #160
	stp	x8, x2, [x29, #-120]
	mov	x0, x2
	bl	_os_strlen
	stp	x0, x24, [x29, #-144]
	sub	x8, x29, #168
	stp	x25, x8, [x29, #-104]
	mov	w8, #8
	stur	x8, [x29, #-128]
	sub	x0, x29, #168
	mov	x1, x20
	bl	_WPA_PUT_LE16
	cmp	x26, #8
	b.hs	LBB0_2
; %bb.1:
	mov	x28, #0
	ands	x8, x20, #0x7
	b.ne	LBB0_7
	b	LBB0_8
LBB0_2:
	mov	x28, #0
	lsr	x26, x26, #3
	mov	w24, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x25, x26, x28
	sub	x0, x29, #160
	mov	x1, x24
	bl	_WPA_PUT_LE16
	ldrsw	x8, [x27]
	cmp	x25, x8
	b.lo	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x5, x19, x28, lsl #2
	sub	x3, x29, #120
	sub	x4, x29, #152
	mov	x0, x23
	mov	x1, x22
	mov	w2, #4
	bl	_hmac_sha256_vector
	tbnz	x0, #63, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x27]
	add	x24, x24, #1
	add	x28, x28, x8
	cmp	x26, x28
	b.hi	LBB0_3
; %bb.6:
	ands	x8, x20, #0x7
	b.eq	LBB0_8
LBB0_7:
	mov	w9, #8
	sub	w8, w9, w8
	mov	w9, #255
	lsl	w8, w9, w8
	add	x9, x19, x28, lsl #2
	ldur	w10, [x9, #-4]
	and	w8, w10, w8
	stur	w8, [x9, #-4]
LBB0_8:
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	lsl	w1, w8, #2
	mov	x0, x21
	bl	_forced_memzero
	mov	w0, #0
	b	LBB0_12
LBB0_9:
	sub	x3, x29, #120
	sub	x4, x29, #152
	mov	x0, x23
	mov	x1, x22
	mov	w2, #4
	mov	x5, x21
	bl	_hmac_sha256_vector
	tbnz	x0, #63, LBB0_11
; %bb.10:
	add	x0, x19, x28, lsl #2
	mov	x1, x21
	mov	x2, x25
	bl	_os_memcpy
	mov	x28, x26
	ands	x8, x20, #0x7
	b.ne	LBB0_7
	b	LBB0_8
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
.subsections_via_symbols
