	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_convert_block
_crypt_convert_block:                   ## @crypt_convert_block
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	16(%rsi), %edi
	movl	28(%rsi), %esi
	callq	_bio_iovec_idx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	24(%r15), %esi
	movl	32(%r15), %edi
	callq	_bio_iovec_idx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	callq	_dmreq_of_req
	movq	%rax, %r12
	leaq	16(%rax), %r13
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edi
	callq	_crypto_ablkcipher_alignmask
	leaq	1(%rax), %rsi
	movq	%r13, %rdi
	callq	_ALIGN
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, 8(%r12)
	leaq	4(%r12), %rbx
	movl	$1, %r13d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sg_init_table
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %esi
	movq	(%r15), %rcx
	addq	(%rax), %rcx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_sg_set_page
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_sg_init_table
	movb	(%r14), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movl	16(%rbx), %esi
	movq	8(%r15), %rcx
	addq	(%rbx), %rcx
	movq	%r12, %rdi
	callq	_sg_set_page
	movb	(%r14), %cl
	shll	%cl, %r13d
	movslq	%r13d, %rax
	movq	(%r15), %rcx
	addq	%rax, %rcx
	movq	%rcx, (%r15)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	8(%rdx), %rcx
	jl	LBB0_2
## %bb.1:
	movq	$0, (%r15)
	incl	28(%r15)
LBB0_2:
	addq	8(%r15), %rax
	movq	%rax, 8(%r15)
	cmpq	8(%rbx), %rax
	jl	LBB0_4
## %bb.3:
	movq	$0, 8(%r15)
	incl	24(%r15)
LBB0_4:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	testq	%rax, %rax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_7
## %bb.5:
	movl	20(%r15), %edx
	movq	%rbx, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %r13d
	shll	%cl, %r13d
LBB0_7:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%r13d, %ecx
	movq	%rbx, %r8
	callq	_ablkcipher_request_set_crypt
	movl	16(%r15), %edi
	callq	_bio_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.10:
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypto_ablkcipher_encrypt      ## TAILCALL
LBB0_8:
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypto_ablkcipher_decrypt      ## TAILCALL
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_WRITE,8,3                      ## @WRITE
	.no_dead_strip	_crypt_convert_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_convert_block
_crypt_convert_block:                   ; @crypt_convert_block
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x1, #16]
	ldr	w1, [x1, #28]
	bl	_bio_iovec_idx
	mov	x26, x0
	ldr	w0, [x20, #32]
	ldr	w1, [x20, #24]
	bl	_bio_iovec_idx
	mov	x25, x0
	mov	x0, x22
	mov	x1, x19
	bl	_dmreq_of_req
	mov	x21, x0
	add	x23, x0, #16
	ldr	w0, [x22, #8]
	bl	_crypto_ablkcipher_alignmask
	add	x1, x0, #1
	mov	x0, x23
	bl	_ALIGN
	mov	x23, x0
	str	x20, [x21, #8]
	add	x24, x21, #4
	mov	w28, #1
	mov	x0, x24
	mov	w1, #1
	bl	_sg_init_table
Lloh0:
	adrp	x27, _SECTOR_SHIFT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _SECTOR_SHIFT@GOTPAGEOFF]
	ldr	w1, [x26, #16]
	ldr	w8, [x27]
	lsl	w2, w28, w8
	ldr	x8, [x26]
	ldr	x9, [x20]
	add	x3, x9, x8
	mov	x0, x24
	bl	_sg_set_page
	mov	x0, x21
	mov	w1, #1
	bl	_sg_init_table
	ldr	w1, [x25, #16]
	ldr	w8, [x27]
	lsl	w2, w28, w8
	ldr	x8, [x25]
	ldr	x9, [x20, #8]
	add	x3, x9, x8
	mov	x0, x21
	bl	_sg_set_page
	ldr	w8, [x27]
	lsl	w3, w28, w8
	sxtw	x8, w3
	ldr	x9, [x20]
	ldr	x10, [x26, #8]
	add	x9, x9, x8
	cmp	x9, x10
	str	x9, [x20]
	b.lt	LBB0_2
; %bb.1:
	str	xzr, [x20]
	ldr	w9, [x20, #28]
	add	w9, w9, #1
	str	w9, [x20, #28]
LBB0_2:
	ldr	x9, [x20, #8]
	ldr	x10, [x25, #8]
	add	x8, x9, x8
	cmp	x8, x10
	str	x8, [x20, #8]
	b.lt	LBB0_4
; %bb.3:
	str	xzr, [x20, #8]
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
LBB0_4:
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8]
	ldr	w2, [x20, #20]
	mov	x0, x22
	mov	x1, x23
	blr	x8
	tbnz	w0, #31, LBB0_10
; %bb.6:
	ldr	w8, [x27]
	mov	w9, #1
	lsl	w3, w9, w8
LBB0_7:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x23
	bl	_ablkcipher_request_set_crypt
	ldr	w0, [x20, #16]
	bl	_bio_data_dir
Lloh2:
	adrp	x8, _WRITE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	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
	b	_crypto_ablkcipher_encrypt
LBB0_9:
	mov	x0, x19
	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
	b	_crypto_ablkcipher_decrypt
LBB0_10:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_WRITE,8,3                      ; @WRITE
	.no_dead_strip	_crypt_convert_block
.subsections_via_symbols
