	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function custom_regs_w
_custom_regs_w:                         ## @custom_regs_w
	.cfi_startproc
## %bb.0:
	cmpl	$7340032, %edi                  ## imm = 0x700000
	jl	LBB0_1
## %bb.9:
	movl	%esi, %edi
	jmp	_mapper_32k_w                   ## TAILCALL
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_default_regs_w
	movq	_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	andl	$3, %edx
	cmpl	$2, %edx
	je	LBB0_6
## %bb.2:
	cmpl	$1, %edx
	je	LBB0_5
## %bb.3:
	testl	%edx, %edx
	jne	LBB0_7
## %bb.4:
	addl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	movl	%ecx, %edx
	sarl	$4, %edx
	shll	$4, %ecx
	movzbl	%cl, %ecx
	orl	%edx, %ecx
	jmp	LBB0_8
LBB0_5:
	sarl	%ecx
	jmp	LBB0_8
LBB0_7:
	rolb	$4, %cl
	movl	%ecx, %edx
	andb	$51, %dl
	shlb	$2, %dl
	shrb	$2, %cl
	andb	$51, %cl
	orb	%dl, %cl
	movl	%ecx, %edx
	andb	$85, %dl
	addb	%dl, %dl
	shrb	%cl
	andb	$85, %cl
	orb	%dl, %cl
	movzbl	%cl, %ecx
LBB0_8:
	movl	%ecx, 8(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cart,8,3                       ## @cart
	.no_dead_strip	_custom_regs_w
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function custom_regs_w
_custom_regs_w:                         ; @custom_regs_w
	.cfi_startproc
; %bb.0:
	cmp	w0, #1792, lsl #12              ; =7340032
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x1
	b	_mapper_32k_w
LBB0_2:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_default_regs_w
Lloh0:
	adrp	x8, _cart@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cart@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w9, w10, [x8]
	and	w10, w10, #0x3
	cmp	w10, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w10, #1
	b.eq	LBB0_7
; %bb.4:
	cbnz	w10, LBB0_8
; %bb.5:
	lsl	w9, w9, #1
	b	LBB0_9
LBB0_6:
	ubfiz	w10, w9, #4, #4
	orr	w9, w10, w9, asr #4
	b	LBB0_9
LBB0_7:
	asr	w9, w9, #1
	b	LBB0_9
LBB0_8:
	rbit	w9, w9
	lsr	w9, w9, #24
LBB0_9:
	str	w9, [x8, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cart,8,3                       ; @cart
	.no_dead_strip	_custom_regs_w
.subsections_via_symbols
