	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_usb_map_service_pipe
_ath6kl_usb_map_service_pipe:           ## @ath6kl_usb_map_service_pipe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_3
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_ATH6KL_USB_PIPE_TX_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_ATH6KL_FW_CAPABILITY_MAP_LP_ENDPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdi), %esi
	movl	%eax, %edi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_5
## %bb.7:
	movq	_ATH6KL_USB_PIPE_TX_DATA_MP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_ATH6KL_USB_PIPE_TX_DATA_LP@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_ATH6KL_USB_PIPE_RX_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_ATH6KL_USB_PIPE_TX_CTRL,4,2    ## @ATH6KL_USB_PIPE_TX_CTRL
	.comm	_ATH6KL_USB_PIPE_RX_DATA,4,2    ## @ATH6KL_USB_PIPE_RX_DATA
	.comm	_ATH6KL_USB_PIPE_TX_DATA_LP,4,2 ## @ATH6KL_USB_PIPE_TX_DATA_LP
	.comm	_ATH6KL_FW_CAPABILITY_MAP_LP_ENDPOINT,4,2 ## @ATH6KL_FW_CAPABILITY_MAP_LP_ENDPOINT
	.comm	_ATH6KL_USB_PIPE_TX_DATA_MP,4,2 ## @ATH6KL_USB_PIPE_TX_DATA_MP
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_ath6kl_usb_map_service_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_usb_map_service_pipe
_ath6kl_usb_map_service_pipe:           ; @ath6kl_usb_map_service_pipe
	.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
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.1:
	mov	x19, x3
	mov	x20, x2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #0
Lloh2:
	adrp	x8, _ATH6KL_USB_PIPE_TX_DATA_LP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH6KL_USB_PIPE_TX_DATA_LP@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
Lloh4:
	adrp	x8, _ATH6KL_USB_PIPE_TX_CTRL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATH6KL_USB_PIPE_TX_CTRL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _ATH6KL_FW_CAPABILITY_MAP_LP_ENDPOINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH6KL_FW_CAPABILITY_MAP_LP_ENDPOINT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w1, [x0]
	mov	x0, x8
	bl	_test_bit
	mov	x8, x0
	mov	w0, #0
Lloh9:
	adrp	x9, _ATH6KL_USB_PIPE_TX_DATA_MP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATH6KL_USB_PIPE_TX_DATA_MP@GOTPAGEOFF]
Lloh11:
	adrp	x10, _ATH6KL_USB_PIPE_TX_DATA_LP@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ATH6KL_USB_PIPE_TX_DATA_LP@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh13:
	adrp	x8, _ATH6KL_USB_PIPE_RX_DATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATH6KL_USB_PIPE_RX_DATA@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh16:
	adrp	x8, _EPERM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_ATH6KL_USB_PIPE_TX_CTRL,4,2    ; @ATH6KL_USB_PIPE_TX_CTRL
	.comm	_ATH6KL_USB_PIPE_RX_DATA,4,2    ; @ATH6KL_USB_PIPE_RX_DATA
	.comm	_ATH6KL_USB_PIPE_TX_DATA_LP,4,2 ; @ATH6KL_USB_PIPE_TX_DATA_LP
	.comm	_ATH6KL_FW_CAPABILITY_MAP_LP_ENDPOINT,4,2 ; @ATH6KL_FW_CAPABILITY_MAP_LP_ENDPOINT
	.comm	_ATH6KL_USB_PIPE_TX_DATA_MP,4,2 ; @ATH6KL_USB_PIPE_TX_DATA_MP
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_ath6kl_usb_map_service_pipe
.subsections_via_symbols
