	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_pci_use_sgls
_nvme_pci_use_sgls:                     ## @nvme_pci_use_sgls
	.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, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_blk_mq_rq_to_pdu
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_blk_rq_nr_phys_segments
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_blk_rq_payload_bytes
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_DIV_ROUND_UP
	testb	$3, (%r14)
	je	LBB0_4
## %bb.2:
	movq	(%r15), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_sgl_threshold@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	setne	%dl
	cmpl	%ecx, %eax
	setae	%al
	andb	%dl, %al
	movzbl	%al, %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sgl_threshold,4,2              ## @sgl_threshold
	.no_dead_strip	_nvme_pci_use_sgls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_pci_use_sgls
_nvme_pci_use_sgls:                     ; @nvme_pci_use_sgls
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_blk_mq_rq_to_pdu
	mov	x20, x0
	mov	x0, x21
	bl	_blk_rq_nr_phys_segments
	cbz	w0, LBB0_5
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	bl	_blk_rq_payload_bytes
	mov	x1, x22
	bl	_DIV_ROUND_UP
	ldrb	w8, [x19]
	tst	w8, #0x3
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _sgl_threshold@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sgl_threshold@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	ccmp	w0, w8, #0, ne
	cset	w0, hs
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_sgl_threshold,4,2              ; @sgl_threshold
	.no_dead_strip	_nvme_pci_use_sgls
.subsections_via_symbols
