	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genimm                         ## -- Begin function genimm
	.p2align	4, 0x90
_genimm:                                ## @genimm
	.cfi_startproc
## %bb.0:
	xorl	%ecx, %ecx
	testl	%edi, %edi
	je	LBB0_18
## %bb.1:
	cmpl	$255, %edi
	jle	LBB0_17
## %bb.2:
	roll	$30, %edi
	movl	$3840, %ecx                     ## imm = 0xF00
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.3:
	roll	$30, %edi
	movl	$3584, %ecx                     ## imm = 0xE00
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.4:
	roll	$30, %edi
	movl	$3328, %ecx                     ## imm = 0xD00
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.5:
	roll	$30, %edi
	movl	$3072, %ecx                     ## imm = 0xC00
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.6:
	roll	$30, %edi
	movl	$2816, %ecx                     ## imm = 0xB00
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.7:
	roll	$30, %edi
	movl	$2560, %ecx                     ## imm = 0xA00
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.8:
	roll	$30, %edi
	movl	$2304, %ecx                     ## imm = 0x900
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.9:
	roll	$30, %edi
	movl	$2048, %ecx                     ## imm = 0x800
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.10:
	roll	$30, %edi
	movl	$1792, %ecx                     ## imm = 0x700
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.11:
	roll	$30, %edi
	movl	$1536, %ecx                     ## imm = 0x600
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.12:
	roll	$30, %edi
	movl	$1280, %ecx                     ## imm = 0x500
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.13:
	roll	$30, %edi
	movl	$1024, %ecx                     ## imm = 0x400
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.14:
	roll	$30, %edi
	movl	$768, %ecx                      ## imm = 0x300
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.15:
	roll	$30, %edi
	movl	$512, %ecx                      ## imm = 0x200
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_17
## %bb.16:
	roll	$30, %edi
	xorl	%eax, %eax
	movl	$256, %ecx                      ## imm = 0x100
	cmpl	$256, %edi                      ## imm = 0x100
	jge	LBB0_19
LBB0_17:
	orl	%edi, %ecx
LBB0_18:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, (%rsi)
	movl	$1, %eax
	popq	%rbp
LBB0_19:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genimm                         ; -- Begin function genimm
	.p2align	2
_genimm:                                ; @genimm
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_3
; %bb.1:
	cmp	w0, #255
	b.gt	LBB0_4
; %bb.2:
	mov	w8, #0
	b	LBB0_34
LBB0_3:
	mov	w8, #0
	b	LBB0_35
LBB0_4:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_6
; %bb.5:
	mov	w8, #3840
	b	LBB0_34
LBB0_6:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_8
; %bb.7:
	mov	w8, #3584
	b	LBB0_34
LBB0_8:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_10
; %bb.9:
	mov	w8, #3328
	b	LBB0_34
LBB0_10:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_12
; %bb.11:
	mov	w8, #3072
	b	LBB0_34
LBB0_12:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_14
; %bb.13:
	mov	w8, #2816
	b	LBB0_34
LBB0_14:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_16
; %bb.15:
	mov	w8, #2560
	b	LBB0_34
LBB0_16:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_18
; %bb.17:
	mov	w8, #2304
	b	LBB0_34
LBB0_18:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_20
; %bb.19:
	mov	w8, #2048
	b	LBB0_34
LBB0_20:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_22
; %bb.21:
	mov	w8, #1792
	b	LBB0_34
LBB0_22:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_24
; %bb.23:
	mov	w8, #1536
	b	LBB0_34
LBB0_24:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_26
; %bb.25:
	mov	w8, #1280
	b	LBB0_34
LBB0_26:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_28
; %bb.27:
	mov	w8, #1024
	b	LBB0_34
LBB0_28:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_30
; %bb.29:
	mov	w8, #768
	b	LBB0_34
LBB0_30:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_32
; %bb.31:
	mov	w8, #512
	b	LBB0_34
LBB0_32:
	ror	w0, w0, #2
	cmp	w0, #256
	b.ge	LBB0_36
; %bb.33:
	mov	w8, #256
LBB0_34:
	orr	w8, w8, w0
LBB0_35:
	str	w8, [x1]
	mov	w0, #1
	ret
LBB0_36:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
