	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %edi
	testl	%eax, (%rsi)
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_bio_op
	movq	_REQ_OP_DISCARD@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
LBB0_2:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	32(%r14), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_bio_set_dev
	movq	%r13, %rdi
	callq	_bio_sectors
	movq	_DM_MAPIO_REMAPPED@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_21
## %bb.4:
	movl	(%r14), %r14d
	movl	4(%r13), %esi
	movq	%r15, %rdi
	callq	_dm_target_offset
	addl	%r14d, %eax
	movl	%eax, 4(%r13)
	jmp	LBB0_21
LBB0_5:
	movq	_BIO_MAX_PAGES@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rbx
	movb	(%rbx), %cl
	shll	%cl, %eax
	xorl	%edi, %edi
	cmpl	%eax, 8(%r13)
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%r13, %rdi
	callq	_bio_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	cmpl	$0, 4(%r14)
	je	LBB0_9
LBB0_8:
	movl	(%r12), %esi
	movb	(%rbx), %cl
	shll	%cl, %esi
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	movq	%r13, %rdi
	callq	_dm_accept_partial_bio
LBB0_9:
	movl	8(%r14), %eax
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	decl	%eax
	xorl	%edi, %edi
	andl	4(%r13), %eax
	setne	%dil
	callq	_unlikely
	movq	_DM_MAPIO_KILL@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.10:
	movl	8(%r14), %edi
	decl	%edi
	andl	8(%r13), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_21
## %bb.11:
	movl	24(%r14), %esi
	movq	%r13, %rdi
	callq	_dm_per_bio_data
	movq	%rax, %r12
	movl	4(%r13), %esi
	movq	%r15, %rdi
	callq	_dm_target_offset
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_crypt_io_init
	movl	4(%r14), %ebx
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.12:
	movq	%r13, %rdi
	callq	_bio_sectors
	movl	%eax, %r15d
	movb	12(%r14), %cl
	sarl	%cl, %r15d
	imull	%ebx, %r15d
	movq	_KMALLOC_MAX_SIZE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r15d
	seta	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movq	___GFP_NORETRY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	___GFP_NOMEMALLOC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	___GFP_NOWARN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%r15d, %edi
	callq	_kmalloc
	movl	%eax, 32(%r12)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
LBB0_14:
	movq	%r13, %rdi
	callq	_bio_sectors
	movl	16(%r14), %esi
	cmpl	%esi, %eax
	jle	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	callq	_dm_accept_partial_bio
LBB0_16:
	leaq	20(%r14), %rdi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mempool_alloc
	movl	%eax, 32(%r12)
	movl	$1, (%r12)
LBB0_17:
	movq	%r14, %rdi
	callq	_crypt_integrity_aead
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	%r12, %rax
	addq	$40, %rax
	movq	%rax, 16(%r12,%rcx,8)
	movq	8(%r12), %rdi
	callq	_bio_data_dir
	movq	_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.18:
	movq	_GFP_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_kcryptd_io_read
	movq	_DM_MAPIO_SUBMITTED@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	%r12, %rdi
	callq	_kcryptd_queue_read
	jmp	LBB0_21
LBB0_20:
	movq	%r12, %rdi
	callq	_kcryptd_queue_crypt
	movq	_DM_MAPIO_SUBMITTED@GOTPCREL(%rip), %rbx
LBB0_21:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_PREFLUSH,4,2               ## @REQ_PREFLUSH
	.comm	_REQ_OP_DISCARD,8,3             ## @REQ_OP_DISCARD
	.comm	_DM_MAPIO_REMAPPED,4,2          ## @DM_MAPIO_REMAPPED
	.comm	_BIO_MAX_PAGES,4,2              ## @BIO_MAX_PAGES
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_WRITE,8,3                      ## @WRITE
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_DM_MAPIO_KILL,4,2              ## @DM_MAPIO_KILL
	.comm	_KMALLOC_MAX_SIZE,4,2           ## @KMALLOC_MAX_SIZE
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	___GFP_NORETRY,4,2              ## @__GFP_NORETRY
	.comm	___GFP_NOMEMALLOC,4,2           ## @__GFP_NOMEMALLOC
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
	.comm	_READ,8,3                       ## @READ
	.comm	_GFP_NOWAIT,4,2                 ## @GFP_NOWAIT
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _REQ_PREFLUSH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REQ_PREFLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_6
LBB0_2:
	ldr	x8, [x19, #32]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bio_set_dev
	mov	x0, x20
	bl	_bio_sectors
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w19, [x19]
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_dm_target_offset
	add	w8, w0, w19
	str	w8, [x20, #4]
LBB0_4:
Lloh3:
	adrp	x8, _DM_MAPIO_REMAPPED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DM_MAPIO_REMAPPED@GOTPAGEOFF]
	b	LBB0_13
LBB0_5:
	mov	x0, x20
	bl	_bio_op
Lloh5:
	adrp	x8, _REQ_OP_DISCARD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REQ_OP_DISCARD@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_6:
	ldr	w8, [x20, #8]
Lloh8:
	adrp	x23, _BIO_MAX_PAGES@GOTPAGE
Lloh9:
	ldr	x23, [x23, _BIO_MAX_PAGES@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh10:
	adrp	x24, _PAGE_SHIFT@GOTPAGE
Lloh11:
	ldr	x24, [x24, _PAGE_SHIFT@GOTPAGEOFF]
	ldr	w10, [x24]
	lsl	w9, w9, w10
	cmp	w8, w9
	cset	w0, gt
	bl	_unlikely
Lloh12:
	adrp	x22, _SECTOR_SHIFT@GOTPAGE
Lloh13:
	ldr	x22, [x22, _SECTOR_SHIFT@GOTPAGEOFF]
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x20
	bl	_bio_data_dir
Lloh14:
	adrp	x8, _WRITE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_10
LBB0_9:
	ldr	w8, [x23]
	ldr	w9, [x24]
	lsl	w8, w8, w9
	ldr	w9, [x22]
	asr	w1, w8, w9
	mov	x0, x20
	bl	_dm_accept_partial_bio
LBB0_10:
	ldr	w8, [x20, #4]
	ldr	w9, [x19, #8]
	ldr	w10, [x22]
	asr	w9, w9, w10
	sub	w9, w9, #1
	tst	w9, w8
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x20, #8]
	ldr	w9, [x19, #8]
	sub	w9, w9, #1
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_14
LBB0_12:
Lloh17:
	adrp	x8, _DM_MAPIO_KILL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DM_MAPIO_KILL@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_dm_per_bio_data
	mov	x22, x0
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_dm_target_offset
	mov	x3, x0
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_crypt_io_init
	ldr	w21, [x19, #4]
	cbz	w21, LBB0_20
; %bb.15:
	mov	x0, x20
	bl	_bio_sectors
	ldr	w8, [x19, #12]
	asr	w8, w0, w8
	mul	w21, w8, w21
Lloh19:
	adrp	x8, _KMALLOC_MAX_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KMALLOC_MAX_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w0, hi
	bl	_unlikely
Lloh22:
	adrp	x23, _GFP_NOIO@GOTPAGE
Lloh23:
	ldr	x23, [x23, _GFP_NOIO@GOTPAGEOFF]
	cbnz	x0, LBB0_17
; %bb.16:
	ldr	w8, [x23]
Lloh24:
	adrp	x9, ___GFP_NORETRY@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___GFP_NORETRY@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, ___GFP_NOMEMALLOC@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___GFP_NOMEMALLOC@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, ___GFP_NOWARN@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___GFP_NOWARN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x21
	bl	_kmalloc
	str	w0, [x22, #32]
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_20
LBB0_17:
	mov	x0, x20
	bl	_bio_sectors
	ldr	w1, [x19, #16]
	cmp	w0, w1
	b.le	LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_dm_accept_partial_bio
LBB0_19:
	add	x0, x19, #20
	ldr	w1, [x23]
	bl	_mempool_alloc
	str	w0, [x22, #32]
	mov	w8, #1
	str	w8, [x22]
LBB0_20:
	mov	x0, x19
	bl	_crypt_integrity_aead
	add	x8, x22, #40
	mov	w9, #24
	mov	w10, #16
	cmp	x0, #0
	csel	x9, x10, x9, eq
	str	x8, [x22, x9]
	ldr	x0, [x22, #8]
	bl	_bio_data_dir
Lloh33:
	adrp	x8, _READ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_23
; %bb.21:
Lloh36:
	adrp	x8, _GFP_NOWAIT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GFP_NOWAIT@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_kcryptd_io_read
	cbz	x0, LBB0_24
; %bb.22:
	mov	x0, x22
	bl	_kcryptd_queue_read
	b	LBB0_24
LBB0_23:
	mov	x0, x22
	bl	_kcryptd_queue_crypt
LBB0_24:
Lloh39:
	adrp	x8, _DM_MAPIO_SUBMITTED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DM_MAPIO_SUBMITTED@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_PREFLUSH,4,2               ; @REQ_PREFLUSH
	.comm	_REQ_OP_DISCARD,8,3             ; @REQ_OP_DISCARD
	.comm	_DM_MAPIO_REMAPPED,4,2          ; @DM_MAPIO_REMAPPED
	.comm	_BIO_MAX_PAGES,4,2              ; @BIO_MAX_PAGES
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_WRITE,8,3                      ; @WRITE
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_DM_MAPIO_KILL,4,2              ; @DM_MAPIO_KILL
	.comm	_KMALLOC_MAX_SIZE,4,2           ; @KMALLOC_MAX_SIZE
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	___GFP_NORETRY,4,2              ; @__GFP_NORETRY
	.comm	___GFP_NOMEMALLOC,4,2           ; @__GFP_NOMEMALLOC
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
	.comm	_READ,8,3                       ; @READ
	.comm	_GFP_NOWAIT,4,2                 ; @GFP_NOWAIT
	.comm	_DM_MAPIO_SUBMITTED,4,2         ; @DM_MAPIO_SUBMITTED
	.no_dead_strip	_crypt_map
.subsections_via_symbols
