	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scsi_changephase
_scsi_changephase:                      ## @scsi_changephase
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	movl	%eax, %edi
	callq	_D
	leal	-128(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PBI_SCSI_REQ@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_BSY@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_CD@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_IO@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_11
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PBI_SCSI_REQ@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_BSY@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_3
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PBI_SCSI_REQ@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_BSY@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_CD@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_10
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PBI_SCSI_REQ@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_BSY@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	_PBI_SCSI_CD@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_4
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PBI_SCSI_REQ@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movq	_PBI_SCSI_BSY@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PBI_SCSI_CD@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
LBB0_10:
	movq	_PBI_SCSI_IO@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	jmp	LBB0_11
LBB0_7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PBI_SCSI_REQ@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_BSY@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_PBI_SCSI_CD@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	movq	_PBI_SCSI_IO@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_11:
	movq	_PBI_SCSI_MSG@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_12:
	movq	_scsi_bufpos@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_scsi_phase@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scsi_changephase:%d\n"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_PBI_SCSI_REQ,8,3               ## @PBI_SCSI_REQ
	.comm	_PBI_SCSI_BSY,8,3               ## @PBI_SCSI_BSY
	.comm	_PBI_SCSI_CD,8,3                ## @PBI_SCSI_CD
	.comm	_PBI_SCSI_IO,8,3                ## @PBI_SCSI_IO
	.comm	_PBI_SCSI_MSG,8,3               ## @PBI_SCSI_MSG
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_scsi_bufpos,8,3                ## @scsi_bufpos
	.comm	_scsi_phase,4,2                 ## @scsi_phase
	.no_dead_strip	_scsi_changephase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scsi_changephase
_scsi_changephase:                      ; @scsi_changephase
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
	bl	_D
	sub	w8, w19, #128
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _PBI_SCSI_REQ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PBI_SCSI_REQ@GOTPAGEOFF]
Lloh9:
	str	x8, [x9]
Lloh10:
	adrp	x9, _PBI_SCSI_BSY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PBI_SCSI_BSY@GOTPAGEOFF]
Lloh12:
	str	x8, [x9]
Lloh13:
	adrp	x9, _PBI_SCSI_CD@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PBI_SCSI_CD@GOTPAGEOFF]
Lloh15:
	str	x8, [x9]
Lloh16:
	adrp	x9, _PBI_SCSI_IO@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PBI_SCSI_IO@GOTPAGEOFF]
Lloh18:
	str	x8, [x9]
Lloh19:
	adrp	x8, _FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	b	LBB0_11
LBB0_3:
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _PBI_SCSI_REQ@GOTPAGE
Lloh26:
	ldr	x9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8]
LBB0_6:
Lloh58:
	adrp	x9, _PBI_SCSI_CD@GOTPAGE
Lloh59:
	ldr	x9, [x9, _PBI_SCSI_CD@GOTPAGEOFF]
Lloh60:
	str	x8, [x9]
	b	LBB0_10
LBB0_7:
Lloh61:
	adrp	x8, _TRUE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x8]
Lloh64:
	adrp	x8, _PBI_SCSI_REQ@GOTPAGE
Lloh65:
	ldr	x8, [x8, _PBI_SCSI_REQ@GOTPAGEOFF]
Lloh66:
	str	x9, [x8]
Lloh67:
	adrp	x8, _PBI_SCSI_BSY@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PBI_SCSI_BSY@GOTPAGEOFF]
Lloh69:
	str	x9, [x8]
Lloh70:
	adrp	x8, _FALSE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
Lloh73:
	adrp	x10, _PBI_SCSI_CD@GOTPAGE
Lloh74:
	ldr	x10, [x10, _PBI_SCSI_CD@GOTPAGEOFF]
Lloh75:
	str	x8, [x10]
LBB0_8:
Lloh76:
	adrp	x10, _PBI_SCSI_IO@GOTPAGE
Lloh77:
	ldr	x10, [x10, _PBI_SCSI_IO@GOTPAGEOFF]
Lloh78:
	str	x9, [x10]
	b	LBB0_11
LBB0_9:
Lloh79:
	adrp	x8, _TRUE@GOTPAGE
Lloh80:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh81:
	ldr	x8, [x8]
Lloh82:
	adrp	x9, _PBI_SCSI_REQ@GOTPAGE
Lloh83:
	ldr	x9, [x9, _PBI_SCSI_REQ@GOTPAGEOFF]
Lloh84:
	str	x8, [x9]
Lloh85:
	adrp	x9, _PBI_SCSI_BSY@GOTPAGE
Lloh86:
	ldr	x9, [x9, _PBI_SCSI_BSY@GOTPAGEOFF]
Lloh87:
	str	x8, [x9]
Lloh88:
	adrp	x9, _PBI_SCSI_CD@GOTPAGE
Lloh89:
	ldr	x9, [x9, _PBI_SCSI_CD@GOTPAGEOFF]
Lloh90:
	str	x8, [x9]
Lloh91:
	adrp	x8, _FALSE@GOTPAGE
Lloh92:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh93:
	ldr	x8, [x8]
LBB0_10:
Lloh94:
	adrp	x9, _PBI_SCSI_IO@GOTPAGE
Lloh95:
	ldr	x9, [x9, _PBI_SCSI_IO@GOTPAGEOFF]
Lloh96:
	str	x8, [x9]
LBB0_11:
Lloh97:
	adrp	x9, _PBI_SCSI_MSG@GOTPAGE
Lloh98:
	ldr	x9, [x9, _PBI_SCSI_MSG@GOTPAGEOFF]
Lloh99:
	str	x8, [x9]
LBB0_12:
Lloh100:
	adrp	x8, _scsi_bufpos@GOTPAGE
Lloh101:
	ldr	x8, [x8, _scsi_bufpos@GOTPAGEOFF]
Lloh102:
	str	xzr, [x8]
Lloh103:
	adrp	x8, _scsi_phase@GOTPAGE
Lloh104:
	ldr	x8, [x8, _scsi_phase@GOTPAGEOFF]
Lloh105:
	str	w19, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotStr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotStr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotStr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotStr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotStr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotStr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotStr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotStr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotStr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotStr	Lloh100, Lloh101, Lloh102
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scsi_changephase:%d\n"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_PBI_SCSI_REQ,8,3               ; @PBI_SCSI_REQ
	.comm	_PBI_SCSI_BSY,8,3               ; @PBI_SCSI_BSY
	.comm	_PBI_SCSI_CD,8,3                ; @PBI_SCSI_CD
	.comm	_PBI_SCSI_IO,8,3                ; @PBI_SCSI_IO
	.comm	_PBI_SCSI_MSG,8,3               ; @PBI_SCSI_MSG
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_scsi_bufpos,8,3                ; @scsi_bufpos
	.comm	_scsi_phase,4,2                 ; @scsi_phase
	.no_dead_strip	_scsi_changephase
.subsections_via_symbols
