	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_map
_crypt_map:                             ## @crypt_map
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_BIO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_DM_MAPIO_REMAPPED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_dm_target_offset
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_crypt_io_alloc
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_bio_data_dir
	movq	_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_kcryptd_queue_io
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_kcryptd_queue_crypt
LBB0_5:
	movq	_DM_MAPIO_SUBMITTED@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_FLUSH,4,2                  ## @BIO_FLUSH
	.comm	_DM_MAPIO_REMAPPED,4,2          ## @DM_MAPIO_REMAPPED
	.comm	_READ,8,3                       ## @READ
	.comm	_DM_MAPIO_SUBMITTED,4,2         ## @DM_MAPIO_SUBMITTED
	.no_dead_strip	_crypt_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_map
_crypt_map:                             ; @crypt_map
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _BIO_FLUSH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BIO_FLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, _DM_MAPIO_REMAPPED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DM_MAPIO_REMAPPED@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_dm_target_offset
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_crypt_io_alloc
	mov	x19, x0
	ldr	w0, [x0]
	bl	_bio_data_dir
Lloh5:
	adrp	x8, _READ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_kcryptd_queue_io
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_kcryptd_queue_crypt
LBB0_5:
Lloh8:
	adrp	x8, _DM_MAPIO_SUBMITTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DM_MAPIO_SUBMITTED@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_FLUSH,4,2                  ; @BIO_FLUSH
	.comm	_DM_MAPIO_REMAPPED,4,2          ; @DM_MAPIO_REMAPPED
	.comm	_READ,8,3                       ; @READ
	.comm	_DM_MAPIO_SUBMITTED,4,2         ; @DM_MAPIO_SUBMITTED
	.no_dead_strip	_crypt_map
.subsections_via_symbols
