	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_l1oip_law_to_4bit              ## -- Begin function l1oip_law_to_4bit
	.p2align	4, 0x90
_l1oip_law_to_4bit:                     ## @l1oip_law_to_4bit
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rcx), %r8
	testq	%r8, %r8
	je	LBB0_3
## %bb.4:
	movq	_table_com@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	shll	$8, %r8d
	movzwl	%r8w, %r8d
	movslq	(%rdi), %rax
	addq	$4, %rdi
	orq	%r8, %rax
	movl	(%r9,%rax,8), %eax
	movl	%eax, (%rdx)
	addq	$4, %rdx
	decl	%esi
	movl	$1, %eax
	cmpl	$2, %esi
	jge	LBB0_6
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_3:
	xorl	%eax, %eax
	cmpl	$2, %esi
	jl	LBB0_12
LBB0_6:
	movl	%esi, %r8d
	shrl	%r8d
	movq	_table_com@GOTPCREL(%rip), %r9
	movq	(%r9), %r9
	cmpl	$1, %r8d
	je	LBB0_9
## %bb.7:
	movl	%r8d, %r10d
	andl	$-2, %r10d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %r11d
	shll	$8, %r11d
	orl	4(%rdi), %r11d
	movslq	%r11d, %r11
	movl	(%r9,%r11,8), %r11d
	movl	%r11d, (%rdx)
	movl	8(%rdi), %r11d
	shll	$8, %r11d
	orl	12(%rdi), %r11d
	movslq	%r11d, %r11
	movl	(%r9,%r11,8), %r11d
	movl	%r11d, 4(%rdx)
	addq	$8, %rdx
	addq	$16, %rdi
	addl	$-2, %r10d
	jne	LBB0_8
LBB0_9:
	testb	$2, %sil
	je	LBB0_11
## %bb.10:
	movl	(%rdi), %r10d
	shll	$8, %r10d
	orl	4(%rdi), %r10d
	movslq	%r10d, %r10
	movl	(%r9,%r10,8), %r9d
	movl	%r9d, (%rdx)
	addq	$8, %rdi
LBB0_11:
	addl	%r8d, %eax
LBB0_12:
	xorl	%edx, %edx
	testb	$1, %sil
	je	LBB0_14
## %bb.13:
	movl	$256, %edx                      ## imm = 0x100
	addl	(%rdi), %edx
LBB0_14:
	movl	%edx, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_table_com,8,3                  ## @table_com
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_l1oip_law_to_4bit              ; -- Begin function l1oip_law_to_4bit
	.p2align	2
_l1oip_law_to_4bit:                     ; @l1oip_law_to_4bit
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_9
; %bb.1:
	ldr	w8, [x3]
Lloh0:
	adrp	x9, _table_com@GOTPAGE
Lloh1:
	ldr	x9, [x9, _table_com@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x10, [x9]
	ubfiz	w8, w8, #8, #8
	ldr	w11, [x0], #4
	orr	w8, w11, w8
	ldr	x8, [x10, w8, sxtw #3]
	str	w8, [x2], #4
	sub	w1, w1, #1
	mov	w8, #1
LBB0_3:
	cmp	w1, #2
	b.lt	LBB0_7
; %bb.4:
	lsr	w10, w1, #1
	ldr	x9, [x9]
	mov	x11, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w12, w13, [x0], #8
	orr	w12, w13, w12, lsl #8
	ldr	x12, [x9, w12, sxtw #3]
	str	w12, [x2], #4
	subs	w11, w11, #1
	b.ne	LBB0_5
; %bb.6:
	add	w8, w8, w10
LBB0_7:
	tbnz	w1, #0, LBB0_10
; %bb.8:
	mov	w9, #0
	b	LBB0_11
LBB0_9:
	mov	w0, #0
	ret
LBB0_10:
	ldr	w9, [x0]
	add	w9, w9, #256
LBB0_11:
	str	w9, [x3]
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_table_com,8,3                  ; @table_com
.subsections_via_symbols
