	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsi_usb_host_intf_write_pkt
_rsi_usb_host_intf_write_pkt:           ## @rsi_usb_host_intf_write_pkt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movl	4(%rsi), %eax
	shrl	$4, %eax
	andl	$7, %eax
	movq	_RSI_WIFI_MGMT_Q@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	movq	_RSI_WIFI_DATA_Q@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r10
	movq	_RSI_COEX_Q@GOTPCREL(%rip), %r11
	movq	_WLAN_EP@GOTPCREL(%rip), %r9
	movq	%r9, %rsi
	cmpq	%rax, (%r11)
	je	LBB0_2
## %bb.1:
	movq	_BT_EP@GOTPCREL(%rip), %rsi
LBB0_2:
	cmpq	%rax, %r10
	cmoveq	%r9, %rsi
	cmpq	%rax, %r8
	cmoveq	%r9, %rsi
	movl	(%rsi), %esi
	popq	%rbp
	jmp	_rsi_write_multiple             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RSI_WIFI_MGMT_Q,8,3            ## @RSI_WIFI_MGMT_Q
	.comm	_RSI_WIFI_DATA_Q,8,3            ## @RSI_WIFI_DATA_Q
	.comm	_RSI_COEX_Q,8,3                 ## @RSI_COEX_Q
	.comm	_WLAN_EP,4,2                    ## @WLAN_EP
	.comm	_BT_EP,4,2                      ## @BT_EP
	.no_dead_strip	_rsi_usb_host_intf_write_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsi_usb_host_intf_write_pkt
_rsi_usb_host_intf_write_pkt:           ; @rsi_usb_host_intf_write_pkt
	.cfi_startproc
; %bb.0:
	mov	x3, x2
	mov	x2, x1
	ldr	w8, [x1, #4]
	ubfx	x8, x8, #4, #3
Lloh0:
	adrp	x9, _RSI_WIFI_MGMT_Q@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RSI_WIFI_MGMT_Q@GOTPAGEOFF]
Lloh2:
	adrp	x10, _RSI_WIFI_DATA_Q@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RSI_WIFI_DATA_Q@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _RSI_COEX_Q@GOTPAGE
Lloh7:
	ldr	x11, [x11, _RSI_COEX_Q@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x11, x8
	ccmp	x10, x8, #4, ne
	ccmp	x9, x8, #4, ne
Lloh9:
	adrp	x8, _WLAN_EP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WLAN_EP@GOTPAGEOFF]
Lloh11:
	adrp	x9, _BT_EP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BT_EP@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	b	_rsi_write_multiple
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RSI_WIFI_MGMT_Q,8,3            ; @RSI_WIFI_MGMT_Q
	.comm	_RSI_WIFI_DATA_Q,8,3            ; @RSI_WIFI_DATA_Q
	.comm	_RSI_COEX_Q,8,3                 ; @RSI_COEX_Q
	.comm	_WLAN_EP,4,2                    ; @WLAN_EP
	.comm	_BT_EP,4,2                      ; @BT_EP
	.no_dead_strip	_rsi_usb_host_intf_write_pkt
.subsections_via_symbols
