	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_register_patching_mc_arb
_ci_register_patching_mc_arb:           ## @ci_register_patching_mc_arb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_MC_SEQ_MISC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	andl	$3840, %eax                     ## imm = 0xF00
	cmpl	$768, %eax                      ## imm = 0x300
	jne	LBB0_7
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %eax
	andl	$-2, %eax
	cmpl	$26544, %eax                    ## imm = 0x67B0
	jne	LBB0_7
## %bb.2:
	leal	-100001(%r12), %eax
	cmpl	$25000, %eax                    ## imm = 0x61A8
	jae	LBB0_4
## %bb.3:
	movl	$125000, %ecx                   ## imm = 0x1E848
	movl	$49, %eax
	jmp	LBB0_6
LBB0_4:
	addl	$-125001, %r12d                 ## imm = 0xFFFE17B7
	cmpl	$12499, %r12d                   ## imm = 0x30D3
	ja	LBB0_7
## %bb.5:
	movl	$137500, %ecx                   ## imm = 0x2191C
	movl	$54, %eax
LBB0_6:
	imull	%r15d, %eax
	cltd
	idivl	%ecx
	shll	$16, %eax
	addl	$16711680, %eax                 ## imm = 0xFF0000
	shrl	$16, %eax
	movb	%al, 2(%r14)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_SEQ_MISC0,4,2               ## @MC_SEQ_MISC0
	.no_dead_strip	_ci_register_patching_mc_arb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_register_patching_mc_arb
_ci_register_patching_mc_arb:           ; @ci_register_patching_mc_arb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MC_SEQ_MISC0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC_SEQ_MISC0@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_RREG32
	and	w8, w0, #0xf00
	cmp	w8, #768
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x22]
	ldr	w8, [x8]
	mov	w9, #13272
	cmp	w9, w8, lsr #1
	b.ne	LBB0_7
; %bb.2:
	sub	w8, w21, #24, lsl #12           ; =98304
	sub	w8, w8, #1697
	lsr	w8, w8, #3
	cmp	w8, #3125
	b.hs	LBB0_4
; %bb.3:
	mov	w8, #59464
	movk	w8, #1, lsl #16
	mov	w9, #49
	b	LBB0_6
LBB0_4:
	sub	w8, w21, #30, lsl #12           ; =122880
	sub	w8, w8, #2121
	lsr	w8, w8, #2
	cmp	w8, #3124
	b.hi	LBB0_7
; %bb.5:
	mov	w8, #6428
	movk	w8, #2, lsl #16
	mov	w9, #54
LBB0_6:
	mul	w9, w9, w20
	sdiv	w8, w9, w8
	lsl	w8, w8, #16
	add	w8, w8, #4080, lsl #12          ; =16711680
	lsr	w8, w8, #16
	strb	w8, [x19, #2]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_SEQ_MISC0,4,2               ; @MC_SEQ_MISC0
	.no_dead_strip	_ci_register_patching_mc_arb
.subsections_via_symbols
