	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hmac_sha256_kdf                ## -- Begin function hmac_sha256_kdf
	.p2align	4, 0x90
_hmac_sha256_kdf:                       ## @hmac_sha256_kdf
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	movl	%r13d, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	$1, -116(%rbp)
	movq	%rbx, -80(%rbp)
	movq	%r13, -112(%rbp)
	leaq	-72(%rbp), %r13
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	%r14, -72(%rbp)
	movq	%r14, %rdi
	callq	_os_strlen
	incl	%eax
	cltq
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rax
	movq	%rax, -72(%rbp)
	xorl	%eax, %eax
LBB0_3:
	leaq	-104(%rbp), %r8
	movq	%rax, -104(%rbp)
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -64(%rbp)
	movq	%r15, -96(%rbp)
	leaq	-116(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	$1, -88(%rbp)
	movq	%r12, %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movl	$3, %edx
	movq	%r13, %rcx
	movq	%rbx, %r9
	callq	_hmac_sha256_vector
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	16(%rbp), %r14
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r15
	movq	%r14, %r13
	subq	%r15, %r13
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	cmovaeq	%rax, %r13
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r15,4), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_os_memcpy
	addq	%r15, %r13
	cmpq	%r14, %r13
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-116(%rbp), %eax
	cmpl	$255, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%eax
	movl	%eax, -116(%rbp)
	movq	%r12, %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movl	$4, %edx
	leaq	-80(%rbp), %rcx
	leaq	-112(%rbp), %r8
	movq	%rbx, %r9
	callq	_hmac_sha256_vector
	testq	%rax, %rax
	jns	LBB0_6
LBB0_10:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_os_memset
	movl	$-1, %r14d
	jmp	LBB0_11
LBB0_4:
	movl	$-1, %r14d
	jmp	LBB0_12
LBB0_7:
	xorl	%r14d, %r14d
LBB0_11:
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_forced_memzero
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA256_MAC_LEN,4,2             ## @SHA256_MAC_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hmac_sha256_kdf                ; -- Begin function hmac_sha256_kdf
	.p2align	2
_hmac_sha256_kdf:                       ; @hmac_sha256_kdf
	.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, #80
	mov	x19, x6
	mov	x20, x5
	mov	x25, x4
	mov	x24, 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]
	ldrsw	x12, [x27]
	and	x8, x12, #0xffffffff
	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
	mov	w8, #1
	stur	w8, [x29, #-156]
	stur	x21, [x29, #-120]
	stur	x12, [x29, #-152]
	sub	x8, x29, #120
	add	x26, x8, #8
	cbz	x2, LBB0_2
; %bb.1:
	stur	x2, [x29, #-112]
	mov	x0, x2
	bl	_os_strlen
	add	w8, w0, #1
	sxtw	x8, w8
	b	LBB0_3
LBB0_2:
	mov	x8, #0
Lloh7:
	adrp	x9, l_.str@PAGE
Lloh8:
	add	x9, x9, l_.str@PAGEOFF
	stur	x9, [x29, #-112]
LBB0_3:
	sub	x9, x29, #152
	add	x4, x9, #8
	stp	x8, x25, [x29, #-144]
	sub	x8, x29, #156
	stp	x24, x8, [x29, #-104]
	mov	w8, #1
	stur	x8, [x29, #-128]
	mov	x0, x23
	mov	x1, x22
	mov	w2, #3
	mov	x3, x26
	mov	x5, x21
	bl	_hmac_sha256_vector
	tbnz	x0, #63, LBB0_9
; %bb.4:
	mov	x25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x27]
	sub	x9, x19, x25
	cmp	x9, x8
	csel	x24, x9, x8, lo
	add	x0, x20, x25, lsl #2
	mov	x1, x21
	mov	x2, x24
	bl	_os_memcpy
	add	x25, x24, x25
	cmp	x25, x19
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x29, #-156]
	cmp	w8, #255
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, #1
	stur	w8, [x29, #-156]
	sub	x3, x29, #120
	sub	x4, x29, #152
	mov	x0, x23
	mov	x1, x22
	mov	w2, #4
	mov	x5, x21
	bl	_hmac_sha256_vector
	tbz	x0, #63, LBB0_5
LBB0_8:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x19
	bl	_os_memset
	mov	w19, #-1
	b	LBB0_11
LBB0_9:
	mov	w19, #-1
	b	LBB0_12
LBB0_10:
	mov	w19, #0
LBB0_11:
	ldr	w1, [x27]
	mov	x0, x21
	bl	_forced_memzero
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

.subsections_via_symbols
