	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssip_rx_strans
_ssip_rx_strans:                        ## @ssip_rx_strans
	.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
	movl	%esi, %r13d
	movq	%rdi, %r14
	callq	_hsi_client_drvdata
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_SSIP_PDU_LENGTH
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_dbg
	leaq	20(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	(%rbx), %rax
	movq	_ACTIVE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	movl	24(%rbx), %edx
	movq	(%rbx), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_1:
	movq	_RECEIVING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ssip_set_rxstate
	movl	%r13d, %edi
	callq	_SSIP_MSG_ID
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r13d, %edi
	callq	_SSIP_MSG_ID
	movq	8(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_7
LBB0_3:
	incq	8(%rbx)
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movl	16(%rbx), %edi
	shll	$2, %r15d
	movl	%r15d, %esi
	callq	_netdev_alloc_skb
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_5:
	movl	16(%rbx), %eax
	movl	%eax, (%r12)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_skb_put
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ssip_alloc_data
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	callq	_dev_kfree_skb
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ssip_error                     ## TAILCALL
LBB0_9:
	movq	_ssip_rx_data_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hsi_async_read                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX strans: %d frames\n"

	.comm	_ACTIVE,8,3                     ## @ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"START TRANS wrong state: S(%d) M(%d)\n"

	.comm	_RECEIVING,4,2                  ## @RECEIVING
L_.str.2:                               ## @.str.2
	.asciz	"START TRANS id %d expected %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"No memory for rx skb\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.4:                               ## @.str.4
	.asciz	"No memory for RX data msg\n"

	.comm	_ssip_rx_data_complete,4,2      ## @ssip_rx_data_complete
	.no_dead_strip	_ssip_rx_strans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssip_rx_strans
_ssip_rx_strans:                        ; @ssip_rx_strans
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x1
	mov	x19, x0
	bl	_hsi_client_drvdata
	mov	x20, x0
	mov	x0, x22
	bl	_SSIP_PDU_LENGTH
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_dev_dbg
	add	x21, x20, #20
	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
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	w9, [x20, #24]
	stp	x9, x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_spin_unlock_bh
LBB0_2:
Lloh7:
	adrp	x8, _RECEIVING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RECEIVING@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ssip_set_rxstate
	mov	x0, x22
	bl	_SSIP_MSG_ID
	ldr	x8, [x20, #8]
	cmp	x0, x8
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_SSIP_MSG_ID
	ldr	x8, [x20, #8]
	stp	x0, x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x21
	bl	_spin_unlock_bh
	b	LBB0_8
LBB0_4:
	ldr	x8, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	mov	x0, x21
	bl	_spin_unlock_bh
	ldr	w0, [x20, #16]
	lsl	w22, w23, #2
	mov	x1, x22
	bl	_netdev_alloc_skb
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
LBB0_6:
	ldr	w8, [x20, #16]
	str	w8, [x21]
	mov	x0, x21
	mov	x1, x22
	bl	_skb_put
Lloh14:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_ssip_alloc_data
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.7:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x21
	bl	_dev_kfree_skb
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ssip_error
LBB0_9:
Lloh19:
	adrp	x8, _ssip_rx_data_complete@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ssip_rx_data_complete@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_hsi_async_read
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX strans: %d frames\n"

	.comm	_ACTIVE,8,3                     ; @ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"START TRANS wrong state: S(%d) M(%d)\n"

	.comm	_RECEIVING,4,2                  ; @RECEIVING
l_.str.2:                               ; @.str.2
	.asciz	"START TRANS id %d expected %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"No memory for rx skb\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.4:                               ; @.str.4
	.asciz	"No memory for RX data msg\n"

	.comm	_ssip_rx_data_complete,4,2      ; @ssip_rx_data_complete
	.no_dead_strip	_ssip_rx_strans
.subsections_via_symbols
