	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blk_rq_map_user_iov            ## -- Begin function blk_rq_map_user_iov
	.p2align	4, 0x90
_blk_rq_map_user_iov:                   ## @blk_rq_map_user_iov
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movq	%rcx, %rbx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r12d
	movq	%rsi, %rdi
	callq	_rq_data_dir
	movq	_READ@GOTPCREL(%rip), %rcx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	(%rcx), %rax
	sete	%al
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.2:
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movb	%al, %cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	%r15d, %r14d
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %r13
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	negq	%r14
	movb	$1, %bl
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -8(%r13)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %r12
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_queue_dma_alignment
	testq	%r12, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-112(%rbp), %r15                ## 8-byte Folded Reload
	setb	%bl
	addq	$16, %r13
	leaq	(%r14,%r15), %rax
	incq	%rax
	incq	%r15
	cmpq	$1, %rax
	jne	LBB0_3
	jmp	LBB0_10
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testb	$1, %bl
	jne	LBB0_13
LBB0_10:
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_13
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	andl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	callq	_bio_map_user_iov
	jmp	LBB0_14
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	callq	_bio_copy_user_iov
LBB0_14:
	movq	%rax, %r14
	movq	%rax, -80(%rbp)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_16:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r14)
	jne	LBB0_20
## %bb.17:
	movq	_BIO_USER_MAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bio_flagged
	testl	%eax, %eax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_19
## %bb.18:
	movq	_REQ_COPY_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_19:
	leaq	-80(%rbp), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_blk_queue_bounce
	movq	-80(%rbp), %rdi
	callq	_bio_get
	movq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_blk_rq_bio_prep
	movq	$0, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_20:
	movq	%r14, %rdi
	callq	_bio_get
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bio_endio
	movq	%r14, %rdi
	callq	___blk_rq_unmap_user
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_READ,8,3                       ## @READ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BIO_USER_MAPPED,4,2            ## @BIO_USER_MAPPED
	.comm	_REQ_COPY_USER,4,2              ## @REQ_COPY_USER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blk_rq_map_user_iov            ; -- Begin function blk_rq_map_user_iov
	.p2align	2
_blk_rq_map_user_iov:                   ; @blk_rq_map_user_iov
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x6
	mov	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_rq_data_dir
Lloh0:
	adrp	x8, _READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w26, eq
	cbz	x24, LBB0_18
; %bb.1:
	cmp	w23, #1
	b.lt	LBB0_18
; %bb.2:
	stp	w21, w22, [sp, #16]             ; 8-byte Folded Spill
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x27, #0
	add	x28, x24, #8
	mov	w22, #1
	mov	w21, w23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x28, #-8]
	cbz	w8, LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x28]
	mov	x0, x20
	bl	_queue_dma_alignment
	tst	x0, x19
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	cmp	x27, x21
	cset	w22, lo
	add	x28, x28, #16
	cmp	x21, x27
	b.ne	LBB0_3
	b	LBB0_7
LBB0_6:
	tbnz	w22, #0, LBB0_10
LBB0_7:
	cbnz	x25, LBB0_10
; %bb.8:
	ldr	w8, [x20]
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	and	w8, w8, w9
	cbnz	w8, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, #0
	mov	x2, x24
	mov	x3, x23
	mov	x4, x26
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_bio_map_user_iov
	b	LBB0_11
LBB0_10:
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x26
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_bio_copy_user_iov
LBB0_11:
	mov	x22, x0
	str	x0, [sp, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_PTR_ERR
LBB0_13:
	ldr	w8, [x22]
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.14:
Lloh3:
	adrp	x8, _BIO_USER_MAPPED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIO_USER_MAPPED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_bio_flagged
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	w0, LBB0_16
; %bb.15:
Lloh6:
	adrp	x8, _REQ_COPY_USER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REQ_COPY_USER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_16:
	add	x1, sp, #24
	mov	x0, x20
	bl	_blk_queue_bounce
	ldr	x0, [sp, #24]
	bl	_bio_get
	ldr	x2, [sp, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_blk_rq_bio_prep
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_19
LBB0_17:
	mov	x0, x22
	bl	_bio_get
	mov	x0, x22
	mov	w1, #0
	bl	_bio_endio
	mov	x0, x22
	bl	___blk_rq_unmap_user
LBB0_18:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_READ,8,3                       ; @READ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BIO_USER_MAPPED,4,2            ; @BIO_USER_MAPPED
	.comm	_REQ_COPY_USER,4,2              ; @REQ_COPY_USER
.subsections_via_symbols
