	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blk_fill_sghdr_rq
_blk_fill_sghdr_rq:                     ## @blk_fill_sghdr_rq
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	16(%rsi), %edi
	movl	4(%rdx), %edx
	movl	8(%rbx), %esi
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movl	16(%r15), %esi
	movq	_FMODE_WRITE@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_blk_verify_command
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EPERM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
LBB0_10:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%rbx), %eax
	movl	%eax, 12(%r15)
	movq	_REQ_TYPE_BLOCK_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movl	(%rbx), %edi
	callq	_msecs_to_jiffies
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	(%r14), %rax
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_BLK_DEFAULT_SG_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_8:
	movq	_BLK_MIN_SG_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%ecx, %ecx
	cmpq	%rdx, %rax
	jge	LBB0_10
## %bb.9:
	movq	%rdx, (%r15)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_FMODE_WRITE,4,2                ## @FMODE_WRITE
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_REQ_TYPE_BLOCK_PC,4,2          ## @REQ_TYPE_BLOCK_PC
	.comm	_BLK_DEFAULT_SG_TIMEOUT,8,3     ## @BLK_DEFAULT_SG_TIMEOUT
	.comm	_BLK_MIN_SG_TIMEOUT,8,3         ## @BLK_MIN_SG_TIMEOUT
	.no_dead_strip	_blk_fill_sghdr_rq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blk_fill_sghdr_rq
_blk_fill_sghdr_rq:                     ; @blk_fill_sghdr_rq
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1, #16]
	ldp	w2, w1, [x2, #4]
	bl	_copy_from_user
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w1, [x19, #16]
Lloh2:
	adrp	x8, _FMODE_WRITE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FMODE_WRITE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w2, w8, w22
	mov	x0, x20
	bl	_blk_verify_command
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _EPERM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
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
LBB0_6:
Lloh7:
	adrp	x8, _REQ_TYPE_BLOCK_PC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REQ_TYPE_BLOCK_PC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldp	w0, w9, [x21]
	stp	w8, w9, [x19, #8]
	bl	_msecs_to_jiffies
	str	x0, [x19]
	cbnz	x0, LBB0_9
; %bb.7:
	ldr	x0, [x20]
	str	x0, [x19]
	cbnz	x0, LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _BLK_DEFAULT_SG_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BLK_DEFAULT_SG_TIMEOUT@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	str	x0, [x19]
LBB0_9:
Lloh13:
	adrp	x8, _BLK_MIN_SG_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BLK_MIN_SG_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_11
; %bb.10:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_5
LBB0_11:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_FMODE_WRITE,4,2                ; @FMODE_WRITE
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_REQ_TYPE_BLOCK_PC,4,2          ; @REQ_TYPE_BLOCK_PC
	.comm	_BLK_DEFAULT_SG_TIMEOUT,8,3     ; @BLK_DEFAULT_SG_TIMEOUT
	.comm	_BLK_MIN_SG_TIMEOUT,8,3         ; @BLK_MIN_SG_TIMEOUT
	.no_dead_strip	_blk_fill_sghdr_rq
.subsections_via_symbols
