	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsxx_make_request
_rsxx_make_request:                     ## @rsxx_make_request
	.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, %r14
	movq	(%rdi), %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	xorl	%eax, %eax
	callq	_might_sleep
	testq	%r15, %r15
	je	LBB0_14
## %bb.1:
	movl	8(%r14), %eax
	sarl	$9, %eax
	movslq	%eax, %rbx
	addq	(%r14), %rbx
	movl	8(%r15), %edi
	callq	_get_capacity
	cmpq	%rax, %rbx
	jg	LBB0_14
## %bb.2:
	movl	(%r15), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:
	movl	4(%r15), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movq	_EFAULT@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_14:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_bio_endio
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$0, 8(%r14)
	je	LBB0_7
## %bb.8:
	movq	_bio_meta_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmem_cache_alloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r12
	movq	%r14, 16(%rax)
	movq	%rax, %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movl	(%r15), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_disk_stats_start
LBB0_12:
	movq	%r15, %rdi
	callq	_CARD_TO_DEV
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_bio_data_dir
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	(%r14), %r8d
	movl	8(%r14), %r9d
	shll	$9, %r8d
	leal	(%rcx,%rcx,4), %edx
	addl	$82, %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%r12, %rcx
	callq	_dev_dbg
	movq	_bio_dma_done_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r12, %r8
	callq	_rsxx_dma_queue_bio
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movl	%eax, %r13d
	movq	_bio_meta_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_kmem_cache_free
	jmp	LBB0_14
LBB0_7:
	movq	%r15, %rdi
	callq	_CARD_TO_DEV
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_err
	jmp	LBB0_14
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFAULT,4,2                     ## @EFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"size zero BIO!\n"

	.comm	_bio_meta_pool,4,2              ## @bio_meta_pool
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_jiffies,4,2                    ## @jiffies
L_.str.1:                               ## @.str.1
	.asciz	"BIO[%c]: meta: %p addr8: x%llx size: %d\n"

	.comm	_bio_dma_done_cb,4,2            ## @bio_dma_done_cb
	.no_dead_strip	_rsxx_make_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsxx_make_request
_rsxx_make_request:                     ; @rsxx_make_request
	.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	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	bl	_might_sleep
	cbz	x20, LBB0_6
; %bb.1:
	ldr	x8, [x19]
	ldr	w9, [x19, #8]
	asr	w9, w9, #9
	add	x22, x8, w9, sxtw
	ldr	w0, [x20, #8]
	bl	_get_capacity
	cmp	x22, x0
	b.gt	LBB0_6
; %bb.2:
	ldr	w0, [x20]
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20, #4]
	bl	_unlikely
	cbz	x0, LBB0_8
LBB0_4:
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_bio_endio
LBB0_7:
	mov	w0, #0
	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_8:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_14
; %bb.9:
Lloh5:
	adrp	x23, _bio_meta_pool@GOTPAGE
Lloh6:
	ldr	x23, [x23, _bio_meta_pool@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_kmem_cache_alloc
	cbz	x0, LBB0_15
; %bb.10:
	mov	x22, x0
	str	x19, [x0, #16]
	add	x0, x0, #8
	mov	w1, #0
	bl	_atomic_set
	mov	x0, x22
	mov	w1, #0
	bl	_atomic_set
Lloh10:
	adrp	x8, _jiffies@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x22, #4]
	ldr	w0, [x20]
	bl	_unlikely
	cbnz	x0, LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_disk_stats_start
LBB0_12:
	mov	x0, x20
	bl	_CARD_TO_DEV
	mov	x21, x0
	mov	x0, x19
	bl	_bio_data_dir
	ldr	w8, [x19]
	lsl	w4, w8, #9
	ldr	w5, [x19, #8]
	cmp	x0, #0
	mov	w8, #87
	mov	w9, #82
	csel	w2, w9, w8, eq
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x3, x22
	bl	_dev_dbg
Lloh15:
	adrp	x8, _bio_dma_done_cb@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bio_dma_done_cb@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x4, x22
	bl	_rsxx_dma_queue_bio
	cbz	w0, LBB0_7
; %bb.13:
	mov	x21, x0
	ldr	w0, [x23]
	mov	x1, x22
	bl	_kmem_cache_free
	b	LBB0_6
LBB0_14:
	mov	x0, x20
	bl	_CARD_TO_DEV
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_6
LBB0_15:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFAULT,4,2                     ; @EFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"size zero BIO!\n"

	.comm	_bio_meta_pool,4,2              ; @bio_meta_pool
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_jiffies,4,2                    ; @jiffies
l_.str.1:                               ; @.str.1
	.asciz	"BIO[%c]: meta: %p addr8: x%llx size: %d\n"

	.comm	_bio_dma_done_cb,4,2            ; @bio_dma_done_cb
	.no_dead_strip	_rsxx_make_request
.subsections_via_symbols
