	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_DigestFinalXOF             ## -- Begin function EVP_DigestFinalXOF
	.p2align	4, 0x90
_EVP_DigestFinalXOF:                    ## @EVP_DigestFinalXOF
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	_EVP_MD_FLAG_XOF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jb	LBB0_6
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_EVP_MD_CTRL_XOF_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	*32(%rax)
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*8(%rax)
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movq	24(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*%rcx
	movq	_EVP_MD_CTX_FLAG_CLEANED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_set_flags
	movq	(%rbx), %rax
LBB0_5:
	movl	8(%rbx), %edi
	movl	16(%rax), %esi
	callq	_OPENSSL_cleanse
	jmp	LBB0_7
LBB0_6:
	movq	_EVP_F_EVP_DIGESTFINALXOF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_NOT_XOF_OR_INVALID_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MD_FLAG_XOF,4,2            ## @EVP_MD_FLAG_XOF
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_EVP_MD_CTRL_XOF_LEN,4,2        ## @EVP_MD_CTRL_XOF_LEN
	.comm	_EVP_MD_CTX_FLAG_CLEANED,4,2    ## @EVP_MD_CTX_FLAG_CLEANED
	.comm	_EVP_F_EVP_DIGESTFINALXOF,4,2   ## @EVP_F_EVP_DIGESTFINALXOF
	.comm	_EVP_R_NOT_XOF_OR_INVALID_LENGTH,4,2 ## @EVP_R_NOT_XOF_OR_INVALID_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_DigestFinalXOF             ; -- Begin function EVP_DigestFinalXOF
	.p2align	2
_EVP_DigestFinalXOF:                    ; @EVP_DigestFinalXOF
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _EVP_MD_FLAG_XOF@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EVP_MD_FLAG_XOF@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh3:
	adrp	x10, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _INT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	w9, #0
	ccmp	x10, x2, #0, ne
	b.lo	LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x8, #32]
Lloh6:
	adrp	x9, _EVP_MD_CTRL_XOF_LEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EVP_MD_CTRL_XOF_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, #0
	blr	x8
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x0, x19
	blr	x9
Lloh9:
	adrp	x8, _EVP_MD_CTX_FLAG_CLEANED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EVP_MD_CTX_FLAG_CLEANED@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_MD_CTX_set_flags
	ldr	x8, [x19]
LBB0_4:
	ldr	w0, [x19, #8]
	ldr	w1, [x8, #16]
	bl	_OPENSSL_cleanse
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _EVP_F_EVP_DIGESTFINALXOF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EVP_F_EVP_DIGESTFINALXOF@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _EVP_R_NOT_XOF_OR_INVALID_LENGTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EVP_R_NOT_XOF_OR_INVALID_LENGTH@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MD_FLAG_XOF,4,2            ; @EVP_MD_FLAG_XOF
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_EVP_MD_CTRL_XOF_LEN,4,2        ; @EVP_MD_CTRL_XOF_LEN
	.comm	_EVP_MD_CTX_FLAG_CLEANED,4,2    ; @EVP_MD_CTX_FLAG_CLEANED
	.comm	_EVP_F_EVP_DIGESTFINALXOF,4,2   ; @EVP_F_EVP_DIGESTFINALXOF
	.comm	_EVP_R_NOT_XOF_OR_INVALID_LENGTH,4,2 ; @EVP_R_NOT_XOF_OR_INVALID_LENGTH
.subsections_via_symbols
