	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_scsiop_mode_sense
_ata_scsiop_mode_sense:                 ## @ata_scsiop_mode_sense
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rdi
	callq	_VPRINTK
	movl	8(%r14), %eax
	andl	$-64, %eax
	cmpl	$192, %eax
	movq	(%rbx), %rdi
	movq	_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$57, %eax
	movl	$36, %edx
	cmovel	%eax, %edx
	xorl	%ecx, %ecx
	callq	_ata_scsi_set_sense
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENTER\n"

	.comm	_MODE_SENSE,4,2                 ## @MODE_SENSE
	.comm	_ALL_SUB_MPAGES,4,2             ## @ALL_SUB_MPAGES
	.comm	_ATA_DFLAG_LBA48,4,2            ## @ATA_DFLAG_LBA48
	.comm	_ATA_DFLAG_PIO,4,2              ## @ATA_DFLAG_PIO
	.comm	_ILLEGAL_REQUEST,4,2            ## @ILLEGAL_REQUEST
	.no_dead_strip	_ata_scsiop_mode_sense
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_scsiop_mode_sense
_ata_scsiop_mode_sense:                 ; @ata_scsiop_mode_sense
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_VPRINTK
	ldr	w8, [x20, #8]
	and	w8, w8, #0xffffffc0
Lloh2:
	adrp	x9, _ILLEGAL_REQUEST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ILLEGAL_REQUEST@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh4:
	ldr	w1, [x9]
	mov	w9, #36
	mov	w10, #57
	cmp	w8, #192
	csel	w2, w10, w9, eq
	mov	w3, #0
	bl	_ata_scsi_set_sense
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENTER\n"

	.comm	_MODE_SENSE,4,2                 ; @MODE_SENSE
	.comm	_ALL_SUB_MPAGES,4,2             ; @ALL_SUB_MPAGES
	.comm	_ATA_DFLAG_LBA48,4,2            ; @ATA_DFLAG_LBA48
	.comm	_ATA_DFLAG_PIO,4,2              ; @ATA_DFLAG_PIO
	.comm	_ILLEGAL_REQUEST,4,2            ; @ILLEGAL_REQUEST
	.no_dead_strip	_ata_scsiop_mode_sense
.subsections_via_symbols
