	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __setPicConfig
___setPicConfig:                        ## @__setPicConfig
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $edi killed $edi def $rdi
	movq	24(%rbp), %r11
	movq	16(%rbp), %r10
	leal	15(%rdi), %eax
	addl	$30, %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$4, %edi
	movl	%edi, (%r8)
	movl	%edi, (%r9)
	movq	_VI_XFBMODE_DF@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_2
## %bb.1:
	addl	%edi, %edi
	movl	%edi, (%r9)
LBB0_2:
	leal	15(%rdx), %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	andl	$-16, %eax
	subl	%eax, %edx
	movl	%edx, (%r11)
	leal	(%rcx,%rdx), %eax
	addl	$15, %eax
	addl	%edx, %ecx
	addl	$30, %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$4, %ecx
	movl	%ecx, (%r10)
	shll	$8, %ecx
	orl	(%r9), %ecx
	movq	_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, 144(%rax)
	movl	$36, %edi
	callq	_VI_REGCHANGE
	movq	_changed@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VI_XFBMODE_DF,8,3              ## @VI_XFBMODE_DF
	.comm	_regs,8,3                       ## @regs
	.comm	_changed,4,2                    ## @changed
	.no_dead_strip	___setPicConfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __setPicConfig
___setPicConfig:                        ; @__setPicConfig
	.cfi_startproc
; %bb.0:
	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
	add	w8, w0, #15
	add	w9, w0, #30
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #4
	str	w8, [x4]
	str	w8, [x5]
Lloh0:
	adrp	x9, _VI_XFBMODE_DF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VI_XFBMODE_DF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x1
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w8, #1
	str	w8, [x5]
LBB0_2:
	negs	w8, w2
	and	w8, w8, #0xf
	and	w9, w2, #0xf
	csneg	w8, w9, w8, mi
	str	w8, [x7]
	add	w8, w3, w8
	add	w9, w8, #15
	add	w8, w8, #30
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #4
	str	w8, [x6]
	ldr	w9, [x5]
	orr	w8, w9, w8, lsl #8
Lloh3:
	adrp	x9, _regs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _regs@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	w8, [x9, #144]
	mov	w0, #36
	bl	_VI_REGCHANGE
Lloh6:
	adrp	x8, _changed@GOTPAGE
Lloh7:
	ldr	x8, [x8, _changed@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VI_XFBMODE_DF,8,3              ; @VI_XFBMODE_DF
	.comm	_regs,8,3                       ; @regs
	.comm	_changed,4,2                    ; @changed
	.no_dead_strip	___setPicConfig
.subsections_via_symbols
