	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function if_usb_receive
_if_usb_receive:                        ## @if_usb_receive
	.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	8(%rdi), %r12
	movq	16(%r12), %r14
	movl	(%rdi), %ebx
	movl	4(%rdi), %edx
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	testl	%edx, %edx
	je	LBB0_8
## %bb.2:
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	testl	%edx, %edx
	je	LBB0_4
## %bb.7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_8:
	movq	8(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_IPFIELD_ALIGN_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	shlq	$2, %r15
	addq	(%r14), %r15
	movl	(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, %r13d
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_lbs_deb_usbd
	cmpl	$128, %r13d
	je	LBB0_12
## %bb.9:
	cmpl	$129, %r13d
	je	LBB0_13
## %bb.10:
	cmpl	$130, %r13d
	jne	LBB0_5
## %bb.11:
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_process_cmdtypedata
	jmp	LBB0_16
LBB0_4:
	xorl	%r13d, %r13d
LBB0_5:
	movq	(%r12), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
LBB0_6:
	xorl	%eax, %eax
	callq	_lbs_deb_usbd
	movq	%r14, %rdi
	callq	_kfree_skb
LBB0_16:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_if_usb_submit_rx_urb           ## TAILCALL
LBB0_12:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_process_cmdrequest
	jmp	LBB0_16
LBB0_13:
	movl	4(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_lbs_deb_usbd
	movq	%r14, %rdi
	callq	_kfree_skb
	cmpl	$65536, %ebx                    ## imm = 0x10000
	jae	LBB0_14
## %bb.15:
	movzbl	%bl, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_lbs_queue_event
	jmp	LBB0_16
LBB0_14:
	shrl	$16, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_lbs_send_tx_feedback
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_IPFIELD_ALIGN_OFFSET,4,2       ## @IPFIELD_ALIGN_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX URB failed: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Recv length = 0x%x, Recv type = 0x%X\n"

L_.str.2:                               ## @.str.2
	.asciz	"**EVENT** 0x%X\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unknown command type 0x%X\n"

	.no_dead_strip	_if_usb_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function if_usb_receive
_if_usb_receive:                        ; @if_usb_receive
	.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
	ldr	x19, [x0, #8]
	ldr	x20, [x19, #16]
	ldp	w22, w2, [x0]
	cbz	w22, LBB0_3
; %bb.1:
	cbz	w2, LBB0_5
; %bb.2:
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_3:
	cbz	w2, LBB0_9
; %bb.4:
	mov	x0, 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	_kfree_skb
LBB0_5:
	ldr	x21, [x19, #8]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _IPFIELD_ALIGN_OFFSET@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IPFIELD_ALIGN_OFFSET@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x24, x8, x9, lsl #2
	ldr	w0, [x24]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	x0, [x19]
	str	x23, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_lbs_deb_usbd
	cmp	w23, #128
	b.eq	LBB0_13
; %bb.6:
	cmp	w23, #129
	b.eq	LBB0_14
; %bb.7:
	cmp	w23, #130
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_process_cmdtypedata
	b	LBB0_12
LBB0_9:
	mov	w23, #0
LBB0_10:
	ldr	x0, [x19]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x23
LBB0_11:
	bl	_lbs_deb_usbd
	mov	x0, x20
	bl	_kfree_skb
LBB0_12:
	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	_if_usb_submit_rx_urb
LBB0_13:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
	bl	_process_cmdrequest
	b	LBB0_12
LBB0_14:
	ldr	w0, [x24, #4]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	x0, [x19]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_lbs_deb_usbd
	mov	x0, x20
	bl	_kfree_skb
	cmp	w22, #16, lsl #12               ; =65536
	b.hs	LBB0_16
; %bb.15:
	and	w1, w22, #0xff
	mov	x0, x21
	bl	_lbs_queue_event
	b	LBB0_12
LBB0_16:
	lsr	w1, w22, #16
	mov	x0, x21
	bl	_lbs_send_tx_feedback
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IPFIELD_ALIGN_OFFSET,4,2       ; @IPFIELD_ALIGN_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX URB failed: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Recv length = 0x%x, Recv type = 0x%X\n"

l_.str.2:                               ; @.str.2
	.asciz	"**EVENT** 0x%X\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unknown command type 0x%X\n"

	.no_dead_strip	_if_usb_receive
.subsections_via_symbols
