	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssi_async
_ssi_async:                             ## @ssi_async
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	36(%rdi), %edi
	callq	_hsi_get_port
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hsi_port_drvdata
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_BUG_ON
	cmpl	$2, 32(%rbx)
	jl	LBB0_2
## %bb.1:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_9
LBB0_2:
	cmpq	$0, 24(%rbx)
	je	LBB0_3
## %bb.10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ssi_async_break                ## TAILCALL
LBB0_3:
	movq	%r15, %r13
	cmpl	$0, 8(%rbx)
	movq	(%rbx), %rax
	je	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	cmpq	32(%r13), %rax
	setae	%dil
	callq	_BUG_ON
	leaq	24(%r15), %rax
	jmp	LBB0_6
LBB0_5:
	xorl	%edi, %edi
	cmpq	16(%r13), %rax
	setae	%dil
	callq	_BUG_ON
	leaq	8(%r15), %rax
LBB0_6:
	movq	(%rbx), %r12
	shlq	$2, %r12
	addq	(%rax), %r12
	movq	_HSI_STATUS_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	(%r13), %edi
	callq	_pm_runtime_get_sync
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
	movq	%r12, %rdi
	callq	_ssi_start_transfer
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	callq	_list_del
	movq	_HSI_STATUS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_8:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	callq	_pm_runtime_mark_last_busy
	movl	(%r15), %edi
	callq	_pm_runtime_put_autosuspend
	movl	12(%rbx), %edx
	movl	8(%rbx), %ecx
	movq	(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_HSI_STATUS_QUEUED,4,2          ## @HSI_STATUS_QUEUED
	.comm	_HSI_STATUS_ERROR,4,2           ## @HSI_STATUS_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msg status %d ttype %d ch %d\n"

	.no_dead_strip	_ssi_async
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssi_async
_ssi_async:                             ; @ssi_async
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #36]
	bl	_hsi_get_port
	mov	x20, x0
	bl	_hsi_port_drvdata
	mov	x21, x0
	cmp	x19, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w8, [x19, #32]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ssi_async_break
LBB0_4:
	ldr	w9, [x19, #8]
	ldr	x8, [x19]
	cbz	w9, LBB0_6
; %bb.5:
	ldr	x9, [x21, #32]
	cmp	x8, x9
	cset	w0, hs
	bl	_BUG_ON
	add	x8, x21, #24
	b	LBB0_7
LBB0_6:
	ldr	x9, [x21, #16]
	cmp	x8, x9
	cset	w0, hs
	bl	_BUG_ON
	add	x8, x21, #8
LBB0_7:
	ldr	x8, [x8]
	ldr	x9, [x19]
Lloh3:
	adrp	x10, _HSI_STATUS_QUEUED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HSI_STATUS_QUEUED@GOTPAGEOFF]
	add	x22, x8, x9, lsl #2
Lloh5:
	ldr	w8, [x10]
	str	w8, [x19, #12]
	mov	x23, x21
	ldr	w0, [x23], #4
	bl	_pm_runtime_get_sync
	mov	x0, x23
	bl	_spin_lock_bh
	add	x24, x19, #16
	mov	x0, x24
	mov	x1, x22
	bl	_list_add_tail
	mov	x0, x22
	bl	_ssi_start_transfer
	mov	x22, x0
	tbz	w0, #31, LBB0_9
; %bb.8:
	mov	x0, x24
	bl	_list_del
Lloh6:
	adrp	x8, _HSI_STATUS_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HSI_STATUS_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_9:
	mov	x0, x23
	bl	_spin_unlock_bh
	ldr	w0, [x21]
	bl	_pm_runtime_mark_last_busy
	ldr	w0, [x21]
	bl	_pm_runtime_put_autosuspend
	ldp	w3, w2, [x19, #8]
	ldr	x4, [x19]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_HSI_STATUS_QUEUED,4,2          ; @HSI_STATUS_QUEUED
	.comm	_HSI_STATUS_ERROR,4,2           ; @HSI_STATUS_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msg status %d ttype %d ch %d\n"

	.no_dead_strip	_ssi_async
.subsections_via_symbols
