	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linear_ioctl
_linear_ioctl:                          ## @linear_ioctl
	.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
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	8(%rdi), %rax
	movq	8(%rax), %rbx
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %r12
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_i_size_read
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarq	%cl, %rax
	cmpq	%rax, %r12
	je	LBB0_4
LBB0_2:
	xorl	%edi, %edi
	movl	%r15d, %esi
	callq	_scsi_verify_blk_ioctl
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	movl	%r15d, %edx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___blkdev_driver_ioctl          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.no_dead_strip	_linear_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linear_ioctl
_linear_ioctl:                          ; @linear_ioctl
	.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	x19, x2
	mov	x20, x1
	ldr	x8, [x0, #8]
	ldp	x8, x21, [x8]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x22, [x0]
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_i_size_read
Lloh0:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	x8, x0, x8
	cmp	x22, x8
	b.eq	LBB0_4
LBB0_2:
	mov	x0, #0
	mov	x1, x20
	bl	_scsi_verify_blk_ioctl
	cbz	w0, LBB0_4
; %bb.3:
	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_4:
	ldr	x0, [x21, #8]
	ldr	w1, [x21]
	mov	x2, x20
	mov	x3, x19
	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
	b	___blkdev_driver_ioctl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.no_dead_strip	_linear_ioctl
.subsections_via_symbols
