	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trf7970a_send_upstream
_trf7970a_send_upstream:                ## @trf7970a_send_upstream
	.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
	movq	%rdi, %rbx
	movq	40(%rdi), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, 40(%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_DUMP_PREFIX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	(%rax), %r9d
	movl	4(%rax), %r8d
	movl	$0, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	$16, %edx
	movl	$1, %ecx
	callq	_print_hex_dump_debug
LBB0_4:
	movq	_TRF7970A_ST_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	cmpl	$0, (%rbx)
	je	LBB0_8
## %bb.5:
	movl	32(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	movq	8(%rbx), %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	8(%rbx), %rdi
	callq	_kfree_skb
	movq	_ECANCELED@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, 8(%rbx)
LBB0_7:
	movl	$0, (%rbx)
LBB0_8:
	movl	20(%rbx), %edi
	movl	16(%rbx), %esi
	movq	8(%rbx), %rdx
	callq	*24(%rbx)
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trf7970a rx data: "

	.comm	_DUMP_PREFIX_NONE,4,2           ## @DUMP_PREFIX_NONE
	.comm	_TRF7970A_ST_IDLE,4,2           ## @TRF7970A_ST_IDLE
L_.str.1:                               ## @.str.1
	.asciz	"Abort process complete\n"

	.comm	_ECANCELED,4,2                  ## @ECANCELED
	.no_dead_strip	_trf7970a_send_upstream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trf7970a_send_upstream
_trf7970a_send_upstream:                ; @trf7970a_send_upstream
	.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
	ldr	x0, [x0, #40]
	bl	_dev_kfree_skb_any
	str	xzr, [x19, #40]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.1:
	bl	_IS_ERR
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _DUMP_PREFIX_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUMP_PREFIX_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldp	w5, w4, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #16
	mov	w3, #1
	mov	w6, #0
	bl	_print_hex_dump_debug
LBB0_4:
Lloh5:
	adrp	x8, _TRF7970A_ST_IDLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRF7970A_ST_IDLE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	w0, [x19, #32]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldr	x0, [x19, #8]
	bl	_IS_ERR
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x0, [x19, #8]
	bl	_kfree_skb
Lloh10:
	adrp	x8, _ECANCELED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ECANCELED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	str	x0, [x19, #8]
LBB0_7:
	str	wzr, [x19]
LBB0_8:
	ldr	x8, [x19, #24]
	ldp	w1, w0, [x19, #16]
	ldr	x2, [x19, #8]
	blr	x8
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trf7970a rx data: "

	.comm	_DUMP_PREFIX_NONE,4,2           ; @DUMP_PREFIX_NONE
	.comm	_TRF7970A_ST_IDLE,4,2           ; @TRF7970A_ST_IDLE
l_.str.1:                               ; @.str.1
	.asciz	"Abort process complete\n"

	.comm	_ECANCELED,4,2                  ; @ECANCELED
	.no_dead_strip	_trf7970a_send_upstream
.subsections_via_symbols
