	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atapi_cmd_type                 ## -- Begin function atapi_cmd_type
	.p2align	4, 0x90
_atapi_cmd_type:                        ## @atapi_cmd_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$8, %edi
	ja	LBB0_6
## %bb.1:
	movq	_ATAPI_READ@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_ATAPI_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_ATAPI_READ_CD@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_atapi_passthru16@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_ATAPI_PASS_THRU@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ATAPI_MISC@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ATAPI_READ,4,2                 ## @ATAPI_READ
	.comm	_ATAPI_WRITE,4,2                ## @ATAPI_WRITE
	.comm	_ATAPI_READ_CD,4,2              ## @ATAPI_READ_CD
	.comm	_atapi_passthru16,4,2           ## @atapi_passthru16
	.comm	_ATAPI_PASS_THRU,4,2            ## @ATAPI_PASS_THRU
	.comm	_ATAPI_MISC,4,2                 ## @ATAPI_MISC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atapi_cmd_type                 ; -- Begin function atapi_cmd_type
	.p2align	2
_atapi_cmd_type:                        ; @atapi_cmd_type
	.cfi_startproc
; %bb.0:
	sub	w9, w0, #128
	cmp	w9, #8
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _ATAPI_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATAPI_READ@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x8, _ATAPI_WRITE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATAPI_WRITE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh7:
	adrp	x8, _ATAPI_READ_CD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATAPI_READ_CD@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh10:
	adrp	x8, _atapi_passthru16@GOTPAGE
Lloh11:
	ldr	x8, [x8, _atapi_passthru16@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _ATAPI_PASS_THRU@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATAPI_PASS_THRU@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh16:
	adrp	x8, _ATAPI_MISC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ATAPI_MISC@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_ATAPI_READ,4,2                 ; @ATAPI_READ
	.comm	_ATAPI_WRITE,4,2                ; @ATAPI_WRITE
	.comm	_ATAPI_READ_CD,4,2              ; @ATAPI_READ_CD
	.comm	_atapi_passthru16,4,2           ; @atapi_passthru16
	.comm	_ATAPI_PASS_THRU,4,2            ; @ATAPI_PASS_THRU
	.comm	_ATAPI_MISC,4,2                 ; @ATAPI_MISC
.subsections_via_symbols
