	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scsitest_request
_scsitest_request:                      ## @scsitest_request
	.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	_ADAPTER_REQ_RUN_XFER@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	%rdx, %rbx
	movq	16(%rdx), %rax
	movl	(%rax), %esi
	leal	-128(%rsi), %eax
	cmpl	$10, %eax
	ja	LBB0_5
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	jmp	LBB0_17
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_18
LBB0_6:
	movq	_SSS_LOEJ@GOTPCREL(%rip), %rax
	testb	$-128, (%rax)
	je	LBB0_18
## %bb.7:
	movq	_isofd@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	jmp	LBB0_18
LBB0_8:
	movq	_isofd@GOTPCREL(%rip), %rax
	cmpl	$-1, (%rax)
	jne	LBB0_18
	jmp	LBB0_12
LBB0_9:
	movq	_isofd@GOTPCREL(%rip), %rax
	cmpl	$-1, (%rax)
	jne	LBB0_18
## %bb.10:
	movq	_XS_CTL_SILENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_12
## %bb.11:
	movq	_rump_scsitest_err@GOTPCREL(%rip), %rax
	movq	_RUMP_SCSITEST_NOISYSYNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	callq	_atomic_inc_uint
LBB0_12:
	movq	%rbx, %rdi
	callq	_sense_notready
	jmp	LBB0_18
LBB0_13:
	movq	8(%rbx), %rax
	movq	_mycdsize@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	__lto4b
	jmp	LBB0_18
LBB0_14:
	movq	8(%rbx), %r14
	movq	_CDBLOCKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r14), %esi
	callq	__lto4b
	movq	_mycdsize@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	__lto4b
	jmp	LBB0_18
LBB0_15:
	movq	8(%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movq	_T_CDROM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_SID_REMOVABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcpy
	jmp	LBB0_18
LBB0_16:
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
LBB0_17:
	callq	_memset
LBB0_18:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_scsipi_done                    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_13
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_ADAPTER_REQ_RUN_XFER,8,3       ## @ADAPTER_REQ_RUN_XFER
	.comm	_isofd,4,2                      ## @isofd
	.comm	_T_CDROM,4,2                    ## @T_CDROM
	.comm	_SID_REMOVABLE,4,2              ## @SID_REMOVABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RUMPHOBO"

L_.str.1:                               ## @.str.1
	.asciz	"It's a LIE"

L_.str.2:                               ## @.str.2
	.asciz	"0.00"

	.comm	_CDBLOCKSIZE,4,2                ## @CDBLOCKSIZE
	.comm	_mycdsize,4,2                   ## @mycdsize
	.comm	_SSS_LOEJ,4,2                   ## @SSS_LOEJ
	.comm	_XS_CTL_SILENT,4,2              ## @XS_CTL_SILENT
	.comm	_rump_scsitest_err,8,3          ## @rump_scsitest_err
	.comm	_RUMP_SCSITEST_NOISYSYNC,8,3    ## @RUMP_SCSITEST_NOISYSYNC
L_.str.3:                               ## @.str.3
	.asciz	"unhandled opcode 0x%x\n"

	.no_dead_strip	_scsitest_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scsitest_request
_scsitest_request:                      ; @scsitest_request
	.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
Lloh0:
	adrp	x8, _ADAPTER_REQ_RUN_XFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADAPTER_REQ_RUN_XFER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x2
	ldr	x8, [x2, #16]
	ldr	w1, [x8]
	sub	w8, w1, #128
	cmp	w8, #10
	b.hi	LBB0_5
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #20
	b	LBB0_17
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	b	LBB0_18
LBB0_6:
Lloh7:
	adrp	x8, _SSS_LOEJ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSS_LOEJ@GOTPAGEOFF]
	ldrb	w8, [x8]
	tbz	w8, #7, LBB0_18
; %bb.7:
Lloh9:
	adrp	x8, _isofd@GOTPAGE
Lloh10:
	ldr	x8, [x8, _isofd@GOTPAGEOFF]
	mov	w9, #-1
Lloh11:
	str	w9, [x8]
	b	LBB0_18
LBB0_8:
Lloh12:
	adrp	x8, _isofd@GOTPAGE
Lloh13:
	ldr	x8, [x8, _isofd@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w8, #1
	b.ne	LBB0_18
	b	LBB0_12
LBB0_9:
Lloh15:
	adrp	x8, _isofd@GOTPAGE
Lloh16:
	ldr	x8, [x8, _isofd@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmn	w8, #1
	b.ne	LBB0_18
; %bb.10:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _XS_CTL_SILENT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _XS_CTL_SILENT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.11:
Lloh21:
	adrp	x8, _rump_scsitest_err@GOTPAGE
Lloh22:
	ldr	x8, [x8, _rump_scsitest_err@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _RUMP_SCSITEST_NOISYSYNC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RUMP_SCSITEST_NOISYSYNC@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_atomic_inc_uint
LBB0_12:
	mov	x0, x19
	bl	_sense_notready
	b	LBB0_18
LBB0_13:
	ldr	x8, [x19, #8]
Lloh27:
	adrp	x9, _mycdsize@GOTPAGE
Lloh28:
	ldr	x9, [x9, _mycdsize@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	__lto4b
	b	LBB0_18
LBB0_14:
	ldr	x20, [x19, #8]
Lloh30:
	adrp	x8, _CDBLOCKSIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CDBLOCKSIZE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	__lto4b
Lloh33:
	adrp	x8, _mycdsize@GOTPAGE
Lloh34:
	ldr	x8, [x8, _mycdsize@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	__lto4b
	b	LBB0_18
LBB0_15:
	ldr	x20, [x19, #8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #20
	bl	_memset
Lloh36:
	adrp	x8, _T_CDROM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _T_CDROM@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _SID_REMOVABLE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SID_REMOVABLE@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
	ldr	w0, [x20, #8]
Lloh42:
	adrp	x1, l_.str@PAGE
Lloh43:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldr	w0, [x20, #4]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
	ldr	w0, [x20]
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcpy
	b	LBB0_18
LBB0_16:
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #4
LBB0_17:
	bl	_memset
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_scsipi_done
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
                                        ; -- End function
	.comm	_ADAPTER_REQ_RUN_XFER,8,3       ; @ADAPTER_REQ_RUN_XFER
	.comm	_isofd,4,2                      ; @isofd
	.comm	_T_CDROM,4,2                    ; @T_CDROM
	.comm	_SID_REMOVABLE,4,2              ; @SID_REMOVABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RUMPHOBO"

l_.str.1:                               ; @.str.1
	.asciz	"It's a LIE"

l_.str.2:                               ; @.str.2
	.asciz	"0.00"

	.comm	_CDBLOCKSIZE,4,2                ; @CDBLOCKSIZE
	.comm	_mycdsize,4,2                   ; @mycdsize
	.comm	_SSS_LOEJ,4,2                   ; @SSS_LOEJ
	.comm	_XS_CTL_SILENT,4,2              ; @XS_CTL_SILENT
	.comm	_rump_scsitest_err,8,3          ; @rump_scsitest_err
	.comm	_RUMP_SCSITEST_NOISYSYNC,8,3    ; @RUMP_SCSITEST_NOISYSYNC
l_.str.3:                               ; @.str.3
	.asciz	"unhandled opcode 0x%x\n"

	.no_dead_strip	_scsitest_request
.subsections_via_symbols
