	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ll_merge_requests_fn
_ll_merge_requests_fn:                  ## @ll_merge_requests_fn
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpq	$0, 24(%rsi)
	jne	LBB0_11
## %bb.1:
	movq	%rdx, %r12
	cmpq	$0, 24(%rdx)
	jne	LBB0_11
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rsi), %rax
	movq	16(%r12), %rcx
	movl	(%rcx), %ecx
	addl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_blk_rq_sectors
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_blk_rq_sectors
	movq	%rax, %r13
	addq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%rbx, %rdi
	callq	_blk_rq_get_max_sectors
	cmpq	%rax, %r13
	jg	LBB0_11
## %bb.3:
	movl	(%r12), %r13d
	addl	(%rbx), %r13d
	movq	8(%rbx), %rsi
	movq	16(%r12), %rdx
	movq	%r15, %rdi
	callq	_blk_phys_contig_segment
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	cmpl	$1, (%rbx)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_6
## %bb.5:
	movq	16(%rbx), %rax
	movl	%ecx, (%rax)
LBB0_6:
	cmpl	$1, (%r12)
	jne	LBB0_8
## %bb.7:
	movq	8(%r12), %rax
	movl	%ecx, (%rax)
LBB0_8:
	decl	%r13d
LBB0_9:
	movq	%r15, %rdi
	callq	_queue_max_segments
	cmpl	%eax, %r13d
	jg	LBB0_11
## %bb.10:
	movl	%r13d, (%rbx)
	movl	$1, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ll_merge_requests_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ll_merge_requests_fn
_ll_merge_requests_fn:                  ; @ll_merge_requests_fn
	.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
	ldr	x8, [x1, #24]
	cbnz	x8, LBB0_10
; %bb.1:
	mov	x21, x2
	ldr	x8, [x2, #24]
	cbnz	x8, LBB0_10
; %bb.2:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	ldr	w23, [x8]
	ldr	x8, [x21, #16]
	ldr	w24, [x8]
	mov	x0, x1
	bl	_blk_rq_sectors
	mov	x22, x0
	mov	x0, x21
	bl	_blk_rq_sectors
	add	x22, x0, x22
	mov	x0, x19
	bl	_blk_rq_get_max_sectors
	cmp	x22, x0
	b.gt	LBB0_10
; %bb.3:
	ldr	w8, [x19]
	ldr	w9, [x21]
	add	w22, w9, w8
	ldr	x1, [x19, #8]
	ldr	x2, [x21, #16]
	mov	x0, x20
	bl	_blk_phys_contig_segment
	cbz	x0, LBB0_9
; %bb.4:
	add	w8, w24, w23
	ldr	w9, [x19]
	cmp	w9, #1
	b.ne	LBB0_6
; %bb.5:
	ldr	x9, [x19, #16]
	str	w8, [x9]
LBB0_6:
	ldr	w9, [x21]
	cmp	w9, #1
	b.ne	LBB0_8
; %bb.7:
	ldr	x9, [x21, #8]
	str	w8, [x9]
LBB0_8:
	sub	w22, w22, #1
LBB0_9:
	mov	x0, x20
	bl	_queue_max_segments
	cmp	w22, w0
	b.le	LBB0_12
LBB0_10:
	mov	w0, #0
LBB0_11:
	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_12:
	str	w22, [x19]
	mov	w0, #1
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ll_merge_requests_fn
.subsections_via_symbols
