	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function work_inot
_work_inot:                             ## @work_inot
	.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	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warnx
LBB0_2:
	leaq	4(%rbx), %r14
	movq	_CAM_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	4(%rbx), %esi
	leal	-137(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_CAM_TARGET_WILDCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UA_BUS_RESET@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_11
LBB0_7:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_10:
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_11
LBB0_6:
	movq	_CAM_TARGET_WILDCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UA_BDR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	callq	_tcmd_ua
	xorl	%eax, %eax
	callq	_abort_all_pending
LBB0_11:
	movq	_periph_links@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_work_queue@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_TAILQ_REMOVE
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_send_ccb
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_debug,8,3                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Working on INOT %p"

	.comm	_CAM_STATUS_MASK,4,2            ## @CAM_STATUS_MASK
	.comm	_CAM_TARGET_WILDCARD,4,2        ## @CAM_TARGET_WILDCARD
	.comm	_UA_BUS_RESET,4,2               ## @UA_BUS_RESET
	.comm	_UA_BDR,4,2                     ## @UA_BDR
L_.str.1:                               ## @.str.1
	.asciz	"INOT message %#x"

L_.str.2:                               ## @.str.2
	.asciz	"INOT %p aborted"

L_.str.3:                               ## @.str.3
	.asciz	"Unhandled INOT status %#x"

	.comm	_work_queue,4,2                 ## @work_queue
	.comm	_periph_links,4,2               ## @periph_links
	.no_dead_strip	_work_inot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function work_inot
_work_inot:                             ; @work_inot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	str	x19, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_2:
	mov	x20, x19
	ldr	w8, [x20, #4]!
Lloh5:
	adrp	x9, _CAM_STATUS_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CAM_STATUS_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w9, w8, #137
	cmp	w9, #3
	b.hi	LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, lJTI0_0@PAGE
Lloh9:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh10:
	adrp	x8, _CAM_TARGET_WILDCARD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CAM_TARGET_WILDCARD@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _UA_BUS_RESET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UA_BUS_RESET@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:
	str	x19, [sp]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_warnx
	b	LBB0_11
LBB0_9:
Lloh21:
	adrp	x8, _CAM_TARGET_WILDCARD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CAM_TARGET_WILDCARD@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _UA_BDR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _UA_BDR@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	bl	_tcmd_ua
	bl	_abort_all_pending
LBB0_11:
Lloh26:
	adrp	x8, _periph_links@GOTPAGE
Lloh27:
	ldr	x8, [x8, _periph_links@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x0, _work_queue@GOTPAGE
Lloh30:
	ldr	x0, [x0, _work_queue@GOTPAGEOFF]
	mov	x1, x20
	bl	_TAILQ_REMOVE
	mov	x0, x19
	mov	w1, #1
	bl	_send_ccb
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
                                        ; -- End function
	.comm	_debug,8,3                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Working on INOT %p"

	.comm	_CAM_STATUS_MASK,4,2            ; @CAM_STATUS_MASK
	.comm	_CAM_TARGET_WILDCARD,4,2        ; @CAM_TARGET_WILDCARD
	.comm	_UA_BUS_RESET,4,2               ; @UA_BUS_RESET
	.comm	_UA_BDR,4,2                     ; @UA_BDR
l_.str.1:                               ; @.str.1
	.asciz	"INOT message %#x"

l_.str.2:                               ; @.str.2
	.asciz	"INOT %p aborted"

l_.str.3:                               ; @.str.3
	.asciz	"Unhandled INOT status %#x"

	.comm	_work_queue,4,2                 ; @work_queue
	.comm	_periph_links,4,2               ; @periph_links
	.no_dead_strip	_work_inot
.subsections_via_symbols
