	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vhba_rwparm                    ## -- Begin function vhba_rwparm
	.p2align	4, 0x90
_vhba_rwparm:                           ## @vhba_rwparm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	movl	$-1, %eax
	addl	$-128, %r9d
	cmpl	$7, %r9d
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %r10
	movslq	(%r10,%r9,4), %r9
	addq	%r10, %r9
	jmpq	*%r9
LBB0_6:
	movl	16(%rdi), %r10d
	testl	%r10d, %r10d
	movl	$256, %r9d                      ## imm = 0x100
	cmovnel	%r10d, %r9d
	movl	4(%rdi), %r11d
	movl	8(%rdi), %r10d
	andl	$31, %r11d
	shll	$16, %r11d
	shll	$8, %r10d
	orl	%r11d, %r10d
	orl	12(%rdi), %r10d
	jmp	LBB0_7
LBB0_2:
	movl	40(%rdi), %r9d
	movl	44(%rdi), %r10d
	shll	$24, %r9d
	shll	$16, %r10d
	orl	%r9d, %r10d
	movl	48(%rdi), %r9d
	shll	$8, %r9d
	orl	%r10d, %r9d
	orl	52(%rdi), %r9d
                                        ## implicit-def: $r10d
	jmp	LBB0_7
LBB0_3:
	movl	24(%rdi), %r10d
	shll	$16, %r10d
	movl	28(%rdi), %r9d
	shll	$8, %r9d
	orl	%r10d, %r9d
	jmp	LBB0_5
LBB0_4:
	movl	28(%rdi), %r9d
	shll	$8, %r9d
LBB0_5:
	orl	32(%rdi), %r9d
	movl	8(%rdi), %r10d
	movl	12(%rdi), %r11d
	shll	$24, %r10d
	shll	$16, %r11d
	orl	%r10d, %r11d
	movl	16(%rdi), %r10d
	shll	$8, %r10d
	orl	%r11d, %r10d
	orl	20(%rdi), %r10d
LBB0_7:
	leal	(%r10,%r9), %edi
	cmpl	%ecx, %edi
	jg	LBB0_9
## %bb.8:
	movl	%r8d, %ecx
	shll	%cl, %r9d
	shll	%cl, %r10d
	movl	%r9d, (%rdx)
	movl	%r10d, (%rsi)
	xorl	%eax, %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vhba_rwparm                    ; -- Begin function vhba_rwparm
	.p2align	2
_vhba_rwparm:                           ; @vhba_rwparm
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_8
; %bb.1:
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	w8, #256
	ldp	w10, w9, [x0, #12]
	cmp	w9, #0
	csel	w8, w8, w9, eq
	ldp	w9, w11, [x0, #4]
	ubfiz	w9, w9, #16, #5
	orr	w9, w9, w11, lsl #8
	orr	w9, w9, w10
	b	LBB0_7
LBB0_3:
	ldp	w8, w9, [x0, #40]
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	ldp	w9, w10, [x0, #48]
	orr	w8, w8, w9, lsl #8
	orr	w8, w8, w10
                                        ; implicit-def: $w9
	b	LBB0_7
LBB0_4:
	ldp	w8, w9, [x0, #24]
	lsl	w9, w9, #8
	orr	w8, w9, w8, lsl #16
	ldr	w9, [x0, #32]
	orr	w8, w8, w9
	b	LBB0_6
LBB0_5:
	ldp	w8, w9, [x0, #28]
	orr	w8, w9, w8, lsl #8
LBB0_6:
	ldp	w9, w10, [x0, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w11, [x0, #16]
	orr	w9, w9, w10, lsl #8
	orr	w9, w9, w11
LBB0_7:
	add	w10, w9, w8
	cmp	w10, w3
	b.le	LBB0_9
LBB0_8:
	mov	w0, #-1
	ret
LBB0_9:
	mov	w0, #0
	lsl	w8, w8, w4
	str	w8, [x2]
	lsl	w8, w9, w4
	str	w8, [x1]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
