	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssip_start_rx
_ssip_start_rx:                         ## @ssip_start_rx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_hsi_client_drvdata
	movq	%rax, %rbx
	movq	(%rax), %rdx
	movq	8(%rax), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	(%rbx), %rax
	movq	_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_RECV_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, 8(%rbx)
	jne	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_ssip_set_rxstate
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	%rbx, %rdi
	callq	_ssip_claim_cmd
	movq	%rax, %rbx
	movq	_SSIP_READY_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ssip_set_cmd
	movq	_ssip_release_cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hsi_async_write                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX start M(%d) R(%d)\n"

	.comm	_ACTIVE,8,3                     ## @ACTIVE
	.comm	_RECV_READY,8,3                 ## @RECV_READY
	.comm	_SSIP_READY_CMD,4,2             ## @SSIP_READY_CMD
	.comm	_ssip_release_cmd,4,2           ## @ssip_release_cmd
L_.str.1:                               ## @.str.1
	.asciz	"Send READY\n"

	.no_dead_strip	_ssip_start_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssip_start_rx
_ssip_start_rx:                         ; @ssip_start_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_hsi_client_drvdata
	mov	x20, x0
	ldp	x8, x9, [x0]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	add	x21, x20, #16
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _ACTIVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
Lloh5:
	adrp	x9, _RECV_READY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RECV_READY@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x9]
	cmp	x8, x1
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x21
	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
	add	sp, sp, #64
	b	_spin_unlock_bh
LBB0_3:
	mov	x0, x20
	bl	_ssip_set_rxstate
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x20
	bl	_ssip_claim_cmd
	mov	x20, x0
Lloh8:
	adrp	x8, _SSIP_READY_CMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSIP_READY_CMD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_ssip_set_cmd
Lloh11:
	adrp	x8, _ssip_release_cmd@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ssip_release_cmd@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #64
	b	_hsi_async_write
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX start M(%d) R(%d)\n"

	.comm	_ACTIVE,8,3                     ; @ACTIVE
	.comm	_RECV_READY,8,3                 ; @RECV_READY
	.comm	_SSIP_READY_CMD,4,2             ; @SSIP_READY_CMD
	.comm	_ssip_release_cmd,4,2           ; @ssip_release_cmd
l_.str.1:                               ; @.str.1
	.asciz	"Send READY\n"

	.no_dead_strip	_ssip_start_rx
.subsections_via_symbols
