	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HKDF_Expand
_HKDF_Expand:                           ## @HKDF_Expand
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_EVP_MD_size
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jle	LBB0_22
## %bb.1:
	movl	%eax, %ecx
	movq	16(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_4
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	cmpq	$1, %rdx
	sbbq	$-1, %rax
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.5:
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpq	$255, %rax
	ja	LBB0_22
## %bb.6:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_HMAC_CTX_new
	testq	%rax, %rax
	je	LBB0_22
## %bb.7:
	movq	%rax, %r14
	xorl	%r13d, %r13d
	movq	%rax, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_HMAC_Init_ex
	testl	%eax, %eax
	je	LBB0_21
## %bb.8:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.10:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	xorl	%r15d, %r15d
	movq	-120(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movb	%r13b, -49(%rbp)
	cmpl	$2, %r13d
	jb	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_HMAC_Init_ex
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_HMAC_Update
	testl	%eax, %eax
	je	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r12d, %edx
	callq	_HMAC_Update
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	leaq	-49(%rbp), %rsi
	movl	$1, %edx
	callq	_HMAC_Update
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_HMAC_Final
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%r15,%rdx), %rax
	movq	16(%rbp), %rcx
	movq	%rcx, %rbx
	subq	%r15, %rbx
	cmpq	%rcx, %rax
	cmovbeq	%rdx, %rbx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r15), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_memcpy
	addq	%rbx, %r15
	incl	%r13d
	cmpq	%r13, -88(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_11
## %bb.19:
	movl	$1, %r13d
	jmp	LBB0_20
LBB0_17:
	xorl	%r13d, %r13d
LBB0_20:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_9:
	movl	$1, %r13d
LBB0_21:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_OPENSSL_cleanse
	movq	%r14, %rdi
	callq	_HMAC_CTX_free
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.no_dead_strip	_HKDF_Expand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HKDF_Expand
_HKDF_Expand:                           ; @HKDF_Expand
	.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, #48
	mov	x21, x6
	mov	x25, x5
	stp	x4, x3, [x29, #-112]            ; 16-byte Folded Spill
	mov	x27, x2
	mov	x24, x1
	mov	x28, 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	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_EVP_MD_size
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x26, x0
	mov	w23, #0
	mov	w22, w0
	udiv	x8, x21, x22
	msub	x9, x8, x22, x21
	cmp	x9, #0
	cinc	x8, x8, ne
	cbz	x25, LBB0_18
; %bb.2:
	cmp	x8, #255
	b.hi	LBB0_18
; %bb.3:
	stp	x25, x8, [x29, #-128]           ; 16-byte Folded Spill
	bl	_HMAC_CTX_new
	cbz	x0, LBB0_15
; %bb.4:
	mov	x25, x0
	mov	x1, x24
	mov	x2, x27
	mov	x3, x28
	mov	x4, #0
	bl	_HMAC_Init_ex
	cbz	w0, LBB0_16
; %bb.5:
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	cbz	x8, LBB0_14
; %bb.6:
	mov	x24, #0
	mov	w27, #1
	ldur	x28, [x29, #-112]               ; 8-byte Folded Reload
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sturb	w27, [x29, #-89]
	cmp	w27, #2
	b.lo	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_HMAC_Init_ex
	cbz	w0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x20
	mov	x2, x26
	bl	_HMAC_Update
	cbz	w0, LBB0_16
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x2, x28
	bl	_HMAC_Update
	cbz	w0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	x1, x29, #89
	mov	x0, x25
	mov	w2, #1
	bl	_HMAC_Update
	cbz	w0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x20
	mov	x2, #0
	bl	_HMAC_Final
	cbz	w0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	x8, x21, x24
	add	x9, x24, x22
	cmp	x9, x21
	csel	x23, x8, x22, hi
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	add	x0, x8, x24
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	add	x24, x23, x24
	add	w27, w27, #1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	cmp	x8, x27
	b.hs	LBB0_7
LBB0_14:
	mov	w23, #1
	b	LBB0_17
LBB0_15:
	mov	w23, #0
	b	LBB0_18
LBB0_16:
	mov	w23, #0
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_cleanse
	mov	x0, x25
	bl	_HMAC_CTX_free
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x23
	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_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.no_dead_strip	_HKDF_Expand
.subsections_via_symbols
