	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swcr_compdec
_swcr_compdec:                          ## @swcr_compdec
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rdi
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	12(%rbx), %edx
	movq	(%rbx), %rcx
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movq	%rax, %r8
	callq	_crypto_copydata
	movq	_CRD_F_COMP@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%ecx, %ecx
	andl	8(%rbx), %eax
	sete	%cl
	movq	(%rbx), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax,%rcx,8)
	movq	%rax, %r13
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_free
	testq	%r13, %r13
	je	LBB0_1
## %bb.3:
	movq	%r13, (%r12)
	movl	(%r15), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_6
## %bb.4:
	cmpq	(%rbx), %r13
	jge	LBB0_5
LBB0_6:
	movl	12(%rbx), %edx
	movq	-48(%rbp), %r8
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rcx
	callq	_crypto_copyback
	movq	(%rbx), %rax
	cmpq	%rax, %r13
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %r14
	jge	LBB0_17
## %bb.7:
	movq	_CRYPTO_F_IMBUF@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_9
## %bb.8:
	subl	%eax, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_m_adj
LBB0_17:
	movq	-48(%rbp), %rdi
	movl	(%r14), %esi
	jmp	LBB0_18
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_19
LBB0_5:
	movq	-48(%rbp), %rdi
	movq	_M_CRYPTO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_18:
	callq	_free
	xorl	%eax, %eax
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_CRYPTO_F_IOV@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_17
## %bb.10:
	subl	%r13d, %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.11:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.12:
	movq	8(%r15), %rdx
	leal	-1(%rcx), %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%rcx), %edi
	movl	(%rdx,%rdi,4), %ebx
	cmpl	%ebx, %eax
	jl	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$0, (%rdx,%rdi,4)
	movl	%esi, (%r15)
	subl	%ebx, %eax
	jle	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	decl	%esi
	leaq	-1(%rcx), %rdi
	cmpq	$1, %rcx
	movq	%rdi, %rcx
	ja	LBB0_13
	jmp	LBB0_17
LBB0_14:
	subl	%eax, %ebx
	movl	%ebx, (%rdx,%rdi,4)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_M_CRYPTO_DATA,4,2              ## @M_CRYPTO_DATA
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CRD_F_COMP,4,2                 ## @CRD_F_COMP
	.comm	_CRYPTO_F_IMBUF,4,2             ## @CRYPTO_F_IMBUF
	.comm	_CRYPTO_F_IOV,4,2               ## @CRYPTO_F_IOV
	.no_dead_strip	_swcr_compdec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swcr_compdec
_swcr_compdec:                          ; @swcr_compdec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x22, [x1, #8]
	ldr	x0, [x0]
Lloh0:
	adrp	x25, _M_CRYPTO_DATA@GOTPAGE
Lloh1:
	ldr	x25, [x25, _M_CRYPTO_DATA@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh2:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x24, x0
	ldr	w2, [x21, #12]
	ldr	x3, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x24
	bl	_crypto_copydata
	ldr	w8, [x21, #8]
Lloh5:
	adrp	x26, _CRD_F_COMP@GOTPAGE
Lloh6:
	ldr	x26, [x26, _CRD_F_COMP@GOTPAGEOFF]
	ldr	w9, [x26]
	tst	w9, w8
	cset	w8, eq
	ldr	x8, [x22, w8, uxtw #3]
	ldr	x1, [x21]
	add	x2, sp, #8
	mov	x0, x24
	blr	x8
	mov	x22, x0
	ldr	w1, [x25]
	mov	x0, x24
	bl	_free
	cbz	x22, LBB0_8
; %bb.2:
	str	x22, [x23]
	ldr	w8, [x21, #8]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_7
LBB0_4:
	ldr	w2, [x21, #12]
	ldr	x4, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	bl	_crypto_copyback
	ldr	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_7
; %bb.5:
Lloh7:
	adrp	x9, _CRYPTO_F_IMBUF@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CRYPTO_F_IMBUF@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_10
; %bb.6:
	sub	w1, w22, w8
	mov	x0, x19
	bl	_m_adj
LBB0_7:
	ldr	x0, [sp, #8]
	ldr	w1, [x25]
	bl	_free
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_9:
	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
	add	sp, sp, #96
	ret
LBB0_10:
Lloh13:
	adrp	x9, _CRYPTO_F_IOV@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CRYPTO_F_IOV@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_7
; %bb.11:
	sub	w11, w8, w22
	ldr	w8, [x19]
	cmp	w11, #1
	ccmp	w8, #1, #8, ge
	b.lt	LBB0_7
; %bb.12:
	ldr	x9, [x19, #8]
	sub	w10, w8, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w13, w8, #1
	ldr	w14, [x9, w13, uxtw #2]
	subs	w12, w11, w14
	b.lt	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	str	wzr, [x9, x13, lsl #2]
	str	w10, [x19]
	sub	w10, w10, #1
	cmp	w12, #1
	ccmp	x8, #1, #0, ge
	sub	x8, x8, #1
	mov	x11, x12
	b.hi	LBB0_13
	b	LBB0_7
LBB0_15:
	sub	w8, w14, w11
	str	w8, [x9, x13, lsl #2]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_M_CRYPTO_DATA,4,2              ; @M_CRYPTO_DATA
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CRD_F_COMP,4,2                 ; @CRD_F_COMP
	.comm	_CRYPTO_F_IMBUF,4,2             ; @CRYPTO_F_IMBUF
	.comm	_CRYPTO_F_IOV,4,2               ; @CRYPTO_F_IOV
	.no_dead_strip	_swcr_compdec
.subsections_via_symbols
