	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbcir_get_rc5bits
_wbcir_get_rc5bits:                     ## @wbcir_get_rc5bits
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leal	(%r14,%r14), %esi
	callq	_get_bits
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	cmpl	$1, %r14d
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%eax, %eax
LBB0_14:
	testb	$1, %r14b
	je	LBB0_19
## %bb.15:
	andl	$3, %ecx
	cmpl	$2, %ecx
	je	LBB0_19
## %bb.16:
	cmpl	$1, %ecx
	jne	LBB0_18
## %bb.17:
	btsl	%edx, %eax
	jmp	LBB0_19
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_4:
	movl	%r14d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, (%rbx)
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	sarl	$4, %ecx
	addl	$2, %edx
	cmpl	%edx, %esi
	je	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edi
	andl	$3, %edi
	cmpl	$2, %edi
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, %edi
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	btsl	%edx, %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, (%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %edi
	shrl	$2, %edi
	andl	$3, %edi
	cmpl	$2, %edi
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, %edi
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%rdx), %edi
	btsl	%edi, %eax
	jmp	LBB0_13
LBB0_18:
	movl	$1, (%rbx)
LBB0_19:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wbcir_get_rc5bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wbcir_get_rc5bits
_wbcir_get_rc5bits:                     ; @wbcir_get_rc5bits
	.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
	mov	x19, x1
	mov	x20, x0
	lsl	w1, w1, #1
	bl	_get_bits
	cbz	w19, LBB0_7
; %bb.1:
	mov	x8, x0
	mov	w9, #0
	mov	w0, #0
	mov	w10, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w10, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w8, w8, #2
	add	w9, w9, #1
	cmp	w19, w9
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w11, w8, #0x3
	cmp	w11, #2
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #1
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w11, w10, w9
	orr	w0, w11, w0
	b	LBB0_3
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wbcir_get_rc5bits
.subsections_via_symbols
