	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atusb_in_good
_atusb_in_good:                         ## @atusb_in_good
	.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
	movq	8(%rdi), %r14
	movq	16(%rdi), %r12
	movq	%r14, %rdi
	callq	_SKB_ATUSB
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	(%r14), %rax
	movslq	(%rax), %r13
	cmpl	$1, %ecx
	jne	LBB0_4
## %bb.8:
	movq	%r15, %rdi
	movl	%r13d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atusb_tx_done                  ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_4:
	leal	-1(%rcx), %eax
	cmpl	%eax, %r13d
	jge	LBB0_9
## %bb.5:
	movl	%r13d, %edi
	callq	_ieee802154_is_valid_psdu_len
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	(%r14), %rax
	movl	4(%rax,%r13,4), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	movl	%ecx, %r12d
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_skb_pull
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_skb_trim
	movl	(%r15), %edi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_ieee802154_rx_irqsafe
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"atusb_in: zero-sized URB ?\n"

L_.str.1:                               ## @.str.1
	.asciz	"atusb_in: frame len %d+1 > URB %u-1\n"

L_.str.2:                               ## @.str.2
	.asciz	"atusb_in: frame corrupted\n"

L_.str.3:                               ## @.str.3
	.asciz	"atusb_in: rx len %d lqi 0x%02x\n"

	.no_dead_strip	_atusb_in_good
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atusb_in_good
_atusb_in_good:                         ; @atusb_in_good
	.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	x19, x0
	ldp	x20, x21, [x0, #8]
	mov	x0, x20
	bl	_SKB_ATUSB
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	x9, [x20]
	ldr	w23, [x9]
	subs	w9, w8, #1
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x22
	mov	x1, x23
	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	_atusb_tx_done
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	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	_dev_dbg
LBB0_5:
	cmp	w23, w9
	b.ge	LBB0_8
; %bb.6:
	mov	x0, x23
	bl	_ieee802154_is_valid_psdu_len
	cbz	w0, LBB0_10
; %bb.7:
	add	w8, w23, #1
	ldr	x9, [x20]
	ldr	w24, [x9, w8, sxtw #2]
	mov	x8, x23
	stp	x8, x24, [sp]
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	mov	x0, x20
	mov	w1, #1
	bl	_skb_pull
	mov	x0, x20
	mov	x1, x23
	bl	_skb_trim
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x24
	bl	_ieee802154_rx_irqsafe
	str	xzr, [x19, #8]
	b	LBB0_9
LBB0_8:
	stp	x23, x8, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
LBB0_9:
	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
	ret
LBB0_10:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"atusb_in: zero-sized URB ?\n"

l_.str.1:                               ; @.str.1
	.asciz	"atusb_in: frame len %d+1 > URB %u-1\n"

l_.str.2:                               ; @.str.2
	.asciz	"atusb_in: frame corrupted\n"

l_.str.3:                               ; @.str.3
	.asciz	"atusb_in: rx len %d lqi 0x%02x\n"

	.no_dead_strip	_atusb_in_good
.subsections_via_symbols
