	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function origin_map
_origin_map:                            ## @origin_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r15
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bio_set_dev
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_bio_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	(%r15), %r14d
	leal	-1(%r14), %eax
	andl	8(%rbx), %eax
	subl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_bio_sectors
	cmpl	%r14d, %eax
	jbe	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_dm_accept_partial_bio
LBB0_4:
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_origin                      ## TAILCALL
LBB0_5:
	movq	_DM_MAPIO_REMAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_PREFLUSH,4,2               ## @REQ_PREFLUSH
	.comm	_DM_MAPIO_REMAPPED,4,2          ## @DM_MAPIO_REMAPPED
	.comm	_WRITE,8,3                      ## @WRITE
	.no_dead_strip	_origin_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function origin_map
_origin_map:                            ; @origin_map
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x21, [x0]
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bio_set_dev
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _REQ_PREFLUSH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REQ_PREFLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_unlikely
	cbnz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_bio_data_dir
Lloh3:
	adrp	x8, _WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x21]
	ldr	w9, [x19, #8]
	sub	w10, w8, #1
	and	w9, w10, w9
	sub	w20, w8, w9
	mov	x0, x19
	bl	_bio_sectors
	cmp	w0, w20
	b.ls	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_dm_accept_partial_bio
LBB0_4:
	ldr	x0, [x21, #8]
	mov	x1, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_do_origin
LBB0_5:
Lloh6:
	adrp	x8, _DM_MAPIO_REMAPPED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_MAPIO_REMAPPED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_PREFLUSH,4,2               ; @REQ_PREFLUSH
	.comm	_DM_MAPIO_REMAPPED,4,2          ; @DM_MAPIO_REMAPPED
	.comm	_WRITE,8,3                      ; @WRITE
	.no_dead_strip	_origin_map
.subsections_via_symbols
