	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ata_scsiop_inq_std
LCPI0_0:
	.long	0                               ## 0x0
	.long	5                               ## 0x5
	.long	2                               ## 0x2
	.long	91                              ## 0x5b
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ata_scsiop_inq_std:                    ## @ata_scsiop_inq_std
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	l___const.ata_scsiop_inq_std.versions+16(%rip), %eax
	movl	%eax, -32(%rbp)
	movaps	l___const.ata_scsiop_inq_std.versions(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_TYPE_DISK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,5,2,91]
	movups	%xmm0, -76(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_VPRINTK
	movl	(%r14), %edi
	callq	_ata_id_removeable
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$128, -76(%rbp)
LBB0_2:
	leaq	-80(%rbp), %rsi
	movl	$20, %edx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_memcpy
	leaq	32(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_memcpy
	movl	(%r14), %edi
	leaq	64(%rbx), %rsi
	movq	_ATA_ID_PROD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %ecx
	callq	_ata_id_string
	movl	(%r14), %edi
	leaq	128(%rbx), %r14
	movq	_ATA_ID_FW_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movl	$4, %ecx
	callq	_ata_id_string
	testl	$-33, 128(%rbx)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_memcpy
LBB0_4:
	addq	$236, %rbx
	leaq	-48(%rbp), %rsi
	movl	$20, %edx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_memcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.ata_scsiop_inq_std.versions
l___const.ata_scsiop_inq_std.versions:
	.long	96                              ## 0x60
	.long	3                               ## 0x3
	.long	32                              ## 0x20
	.long	2                               ## 0x2
	.long	96                              ## 0x60

	.comm	_TYPE_DISK,4,2                  ## @TYPE_DISK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENTER\n"

L_.str.1:                               ## @.str.1
	.asciz	"ATA     "

	.comm	_ATA_ID_PROD,4,2                ## @ATA_ID_PROD
	.comm	_ATA_ID_FW_REV,4,2              ## @ATA_ID_FW_REV
L_.str.2:                               ## @.str.2
	.asciz	"n/a "

	.no_dead_strip	_ata_scsiop_inq_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ata_scsiop_inq_std
lCPI0_0:
	.long	0                               ; 0x0
	.long	5                               ; 0x5
	.long	2                               ; 0x2
	.long	91                              ; 0x5b
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ata_scsiop_inq_std:                    ; @ata_scsiop_inq_std
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, l___const.ata_scsiop_inq_std.versions@PAGE
Lloh4:
	add	x9, x9, l___const.ata_scsiop_inq_std.versions@PAGEOFF
	stur	x8, [x29, #-24]
	ldr	q1, [x9]
	ldr	w8, [x9, #16]
	str	w8, [sp, #64]
Lloh5:
	adrp	x8, _TYPE_DISK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPE_DISK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stp	q0, q1, [sp, #32]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_VPRINTK
	ldr	w0, [x20]
	bl	_ata_id_removeable
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #128
	str	w8, [sp, #32]
LBB0_2:
	mov	w8, #20
	add	x9, sp, #28
	stp	x9, x8, [sp]
	mov	x0, x19
	bl	_memcpy
	add	x0, x19, #32
	mov	w8, #8
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x9, x8, [sp]
	bl	_memcpy
	ldr	w0, [x20]
	add	x1, x19, #64
Lloh14:
	adrp	x8, _ATA_ID_PROD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATA_ID_PROD@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w3, #16
	bl	_ata_id_string
	ldr	w0, [x20]
	add	x20, x19, #128
Lloh17:
	adrp	x8, _ATA_ID_FW_REV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ATA_ID_FW_REV@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #4
	bl	_ata_id_string
	ldr	w8, [x19, #128]
	orr	w8, w8, #0x20
	cmp	w8, #32
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #4
Lloh20:
	adrp	x9, l_.str.2@PAGE
Lloh21:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_memcpy
LBB0_4:
	add	x0, x19, #236
	mov	w8, #20
	add	x9, sp, #48
	stp	x9, x8, [sp]
	bl	_memcpy
	ldur	x8, [x29, #-24]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.ata_scsiop_inq_std.versions
l___const.ata_scsiop_inq_std.versions:
	.long	96                              ; 0x60
	.long	3                               ; 0x3
	.long	32                              ; 0x20
	.long	2                               ; 0x2
	.long	96                              ; 0x60

	.comm	_TYPE_DISK,4,2                  ; @TYPE_DISK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENTER\n"

l_.str.1:                               ; @.str.1
	.asciz	"ATA     "

	.comm	_ATA_ID_PROD,4,2                ; @ATA_ID_PROD
	.comm	_ATA_ID_FW_REV,4,2              ; @ATA_ID_FW_REV
l_.str.2:                               ; @.str.2
	.asciz	"n/a "

	.no_dead_strip	_ata_scsiop_inq_std
.subsections_via_symbols
