	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbcir_rc6cells_to_byte
_wbcir_rc6cells_to_byte:                ## @wbcir_rc6cells_to_byte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$16, %esi
	callq	_get_bits
	movl	%eax, %ecx
	movl	%eax, %edx
	andl	$3, %edx
	xorl	%eax, %eax
	cmpl	$1, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$2, %edx
	jne	LBB0_3
## %bb.2:
	movl	$1, %eax
	jmp	LBB0_4
LBB0_3:
	movl	$1, (%rbx)
LBB0_4:
	movl	%ecx, %edx
	shrl	$2, %edx
	andl	$3, %edx
	cmpl	$1, %edx
	je	LBB0_8
## %bb.5:
	cmpl	$2, %edx
	jne	LBB0_7
## %bb.6:
	orl	$2, %eax
	jmp	LBB0_8
LBB0_7:
	movl	$1, (%rbx)
LBB0_8:
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$3, %edx
	cmpl	$1, %edx
	je	LBB0_12
## %bb.9:
	cmpl	$2, %edx
	jne	LBB0_11
## %bb.10:
	orl	$4, %eax
	jmp	LBB0_12
LBB0_11:
	movl	$1, (%rbx)
LBB0_12:
	movl	%ecx, %edx
	shrl	$6, %edx
	andl	$3, %edx
	cmpl	$1, %edx
	je	LBB0_16
## %bb.13:
	cmpl	$2, %edx
	jne	LBB0_15
## %bb.14:
	orl	$8, %eax
	jmp	LBB0_16
LBB0_15:
	movl	$1, (%rbx)
LBB0_16:
	movl	%ecx, %edx
	shrl	$8, %edx
	andl	$3, %edx
	cmpl	$1, %edx
	je	LBB0_20
## %bb.17:
	cmpl	$2, %edx
	jne	LBB0_19
## %bb.18:
	orl	$16, %eax
	jmp	LBB0_20
LBB0_19:
	movl	$1, (%rbx)
LBB0_20:
	movl	%ecx, %edx
	shrl	$10, %edx
	andl	$3, %edx
	cmpl	$1, %edx
	je	LBB0_24
## %bb.21:
	cmpl	$2, %edx
	jne	LBB0_23
## %bb.22:
	orl	$32, %eax
	jmp	LBB0_24
LBB0_23:
	movl	$1, (%rbx)
LBB0_24:
	movl	%ecx, %edx
	shrl	$12, %edx
	andl	$3, %edx
	cmpl	$1, %edx
	je	LBB0_28
## %bb.25:
	cmpl	$2, %edx
	jne	LBB0_27
## %bb.26:
	orl	$64, %eax
	jmp	LBB0_28
LBB0_27:
	movl	$1, (%rbx)
LBB0_28:
	shrl	$14, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_32
## %bb.29:
	cmpl	$2, %ecx
	jne	LBB0_31
## %bb.30:
	orl	$128, %eax
	jmp	LBB0_32
LBB0_31:
	movl	$1, (%rbx)
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wbcir_rc6cells_to_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wbcir_rc6cells_to_byte
_wbcir_rc6cells_to_byte:                ; @wbcir_rc6cells_to_byte
	.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, x0
	mov	w1, #16
	bl	_get_bits
	mov	x8, x0
	and	w9, w0, #0x3
	cmp	w9, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #2
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #0
	mov	w9, #1
	str	w9, [x19]
LBB0_5:
	ubfx	w9, w8, #2, #2
	cmp	w9, #1
	b.eq	LBB0_9
; %bb.6:
	cmp	w9, #2
	b.ne	LBB0_8
; %bb.7:
	orr	w0, w0, #0x2
	b	LBB0_9
LBB0_8:
	mov	w9, #1
	str	w9, [x19]
LBB0_9:
	ubfx	w9, w8, #4, #2
	cmp	w9, #1
	b.eq	LBB0_13
; %bb.10:
	cmp	w9, #2
	b.ne	LBB0_12
; %bb.11:
	orr	w0, w0, #0x4
	b	LBB0_13
LBB0_12:
	mov	w9, #1
	str	w9, [x19]
LBB0_13:
	ubfx	w9, w8, #6, #2
	cmp	w9, #1
	b.eq	LBB0_17
; %bb.14:
	cmp	w9, #2
	b.ne	LBB0_16
; %bb.15:
	orr	w0, w0, #0x8
	b	LBB0_17
LBB0_16:
	mov	w9, #1
	str	w9, [x19]
LBB0_17:
	ubfx	w9, w8, #8, #2
	cmp	w9, #1
	b.eq	LBB0_21
; %bb.18:
	cmp	w9, #2
	b.ne	LBB0_20
; %bb.19:
	orr	w0, w0, #0x10
	b	LBB0_21
LBB0_20:
	mov	w9, #1
	str	w9, [x19]
LBB0_21:
	ubfx	w9, w8, #10, #2
	cmp	w9, #1
	b.eq	LBB0_25
; %bb.22:
	cmp	w9, #2
	b.ne	LBB0_24
; %bb.23:
	orr	w0, w0, #0x20
	b	LBB0_25
LBB0_24:
	mov	w9, #1
	str	w9, [x19]
LBB0_25:
	ubfx	w9, w8, #12, #2
	cmp	w9, #1
	b.eq	LBB0_29
; %bb.26:
	cmp	w9, #2
	b.ne	LBB0_28
; %bb.27:
	orr	w0, w0, #0x40
	b	LBB0_29
LBB0_28:
	mov	w9, #1
	str	w9, [x19]
LBB0_29:
	ubfx	w8, w8, #14, #2
	cmp	w8, #1
	b.eq	LBB0_33
; %bb.30:
	cmp	w8, #2
	b.ne	LBB0_32
; %bb.31:
	orr	w0, w0, #0x80
	b	LBB0_33
LBB0_32:
	mov	w8, #1
	str	w8, [x19]
LBB0_33:
	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_rc6cells_to_byte
.subsections_via_symbols
