	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_htc_rx_msg               ## -- Begin function ath9k_htc_rx_msg
	.p2align	4, 0x90
_ath9k_htc_rx_msg:                      ## @ath9k_htc_rx_msg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.2:
	movq	%rdi, %r14
	movq	(%rbx), %r15
	movl	(%r15), %r12d
	cmpq	$153, %r12
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ath9k_htc_fw_panic_report
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_4:
	movq	_ENDPOINT_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jae	LBB0_5
## %bb.7:
	movq	_ENDPOINT0@GOTPCREL(%rip), %rcx
	movq	_HTC_FLAGS_RECV_TRAILER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%r15), %eax
	cmpl	(%rcx), %r12d
	jne	LBB0_15
## %bb.8:
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	(%r15), %edi
	callq	_be32_to_cpu
	cmpl	$12976128, %eax                 ## imm = 0xC60000
	jne	LBB0_11
## %bb.10:
	movq	(%rbx), %r15
	addq	$4, %r15
LBB0_11:
	movl	16(%r15), %edi
	callq	_be16_to_cpu
	cmpl	$129, %eax
	je	LBB0_14
## %bb.12:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.13:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_htc_process_target_rdy
	jmp	LBB0_6
LBB0_5:
	movq	_USB_REG_IN_PIPE@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	je	LBB0_6
## %bb.19:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
LBB0_15:
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movq	8(%r15), %rax
	subq	(%rax), %rdx
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	callq	_skb_trim
LBB0_17:
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_skb_pull
	movq	(%r14), %rcx
	movq	%r12, %rdx
	shlq	$4, %rdx
	movq	8(%rcx,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.20:
	movl	(%rcx,%rdx), %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_htc_process_conn_rsp
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ENDPOINT_MAX,4,2               ## @ENDPOINT_MAX
	.comm	_USB_REG_IN_PIPE,8,3            ## @USB_REG_IN_PIPE
	.comm	_ENDPOINT0,4,2                  ## @ENDPOINT0
	.comm	_HTC_FLAGS_RECV_TRAILER,4,2     ## @HTC_FLAGS_RECV_TRAILER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_htc_rx_msg               ; -- Begin function ath9k_htc_rx_msg
	.p2align	2
_ath9k_htc_rx_msg:                      ; @ath9k_htc_rx_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_19
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_19
; %bb.2:
	mov	x20, x0
	ldr	x21, [x19]
	ldr	w22, [x21]
	cmp	w22, #153
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_ath9k_htc_fw_panic_report
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree_skb
LBB0_5:
Lloh0:
	adrp	x8, _ENDPOINT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENDPOINT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w22, w8
	b.hs	LBB0_13
; %bb.6:
Lloh3:
	adrp	x8, _ENDPOINT0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENDPOINT0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	w8, [x21, #4]
Lloh6:
	adrp	x10, _HTC_FLAGS_RECV_TRAILER@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HTC_FLAGS_RECV_TRAILER@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w8, w10, w8
	cmp	w22, w9
	b.ne	LBB0_15
; %bb.7:
	cbz	w8, LBB0_10
; %bb.8:
	ldr	w0, [x21]
	bl	_be32_to_cpu
	cmp	w0, #3168, lsl #12              ; =12976128
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x19]
	add	x21, x8, #4
LBB0_10:
	ldr	w0, [x21, #16]
	bl	_be16_to_cpu
	cmp	w0, #129
	b.eq	LBB0_20
; %bb.11:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.12:
	mov	x0, x20
	mov	x1, x21
	bl	_htc_process_target_rdy
	b	LBB0_4
LBB0_13:
Lloh9:
	adrp	x8, _USB_REG_IN_PIPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _USB_REG_IN_PIPE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x3
	b.eq	LBB0_4
; %bb.14:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_kfree_skb_any
LBB0_15:
	cbz	w8, LBB0_17
; %bb.16:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	sub	x1, x2, x8
	mov	x0, x19
	bl	_skb_trim
LBB0_17:
	mov	x0, x19
	mov	w1, #16
	bl	_skb_pull
	ldr	x8, [x20]
	add	x9, x8, x22, lsl #4
	ldr	x3, [x9, #8]
	cbz	x3, LBB0_19
; %bb.18:
	lsl	x9, x22, #4
	ldr	w0, [x8, x9]
	mov	x1, x19
	mov	x2, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	x0, x20
	mov	x1, x21
	bl	_htc_process_conn_rsp
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENDPOINT_MAX,4,2               ; @ENDPOINT_MAX
	.comm	_USB_REG_IN_PIPE,8,3            ; @USB_REG_IN_PIPE
	.comm	_ENDPOINT0,4,2                  ; @ENDPOINT0
	.comm	_HTC_FLAGS_RECV_TRAILER,4,2     ; @HTC_FLAGS_RECV_TRAILER
.subsections_via_symbols
