	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __setHorizontalRegs
___setHorizontalRegs:                   ## @__setHorizontalRegs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %eax
	shll	$8, %eax
	orl	4(%rdi), %eax
	movq	_regs@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	%eax, 8(%rcx)
	movl	8(%rdi), %eax
	movl	%eax, 12(%rcx)
	movl	$2, %edi
	callq	_VI_REGCHANGE
	movq	_changed@GOTPCREL(%rip), %r12
	orl	%eax, (%r12)
	movl	$3, %edi
	callq	_VI_REGCHANGE
	orl	%eax, (%r12)
	addl	%ebx, %r15d
	addl	12(%r14), %ebx
	addl	16(%r14), %r15d
	leal	(%r15,%r15), %eax
	addl	$-1360, %eax                    ## imm = 0xFAB0
	movq	(%r13), %rcx
	movl	%eax, 16(%rcx)
	shll	$7, %ebx
	addl	$60416, %ebx                    ## imm = 0xEC00
	movzwl	%bx, %eax
	orl	20(%r14), %eax
	movl	%eax, 20(%rcx)
	movl	$4, %edi
	callq	_VI_REGCHANGE
	orl	%eax, (%r12)
	movl	$5, %edi
	callq	_VI_REGCHANGE
	orl	%eax, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_regs,8,3                       ## @regs
	.comm	_changed,4,2                    ## @changed
	.no_dead_strip	___setHorizontalRegs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __setHorizontalRegs
___setHorizontalRegs:                   ; @__setHorizontalRegs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldp	w8, w9, [x0]
	orr	w8, w9, w8, lsl #8
Lloh0:
	adrp	x22, _regs@GOTPAGE
Lloh1:
	ldr	x22, [x22, _regs@GOTPAGEOFF]
	ldr	x9, [x22]
	str	w8, [x9, #8]
	ldr	w8, [x0, #8]
	str	w8, [x9, #12]
	mov	w0, #2
	bl	_VI_REGCHANGE
Lloh2:
	adrp	x23, _changed@GOTPAGE
Lloh3:
	ldr	x23, [x23, _changed@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
	mov	w0, #3
	bl	_VI_REGCHANGE
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
	ldp	w8, w9, [x21, #12]
	add	w8, w8, w20
	add	w10, w19, w20
	add	w9, w10, w9
	lsl	w9, w9, #1
	sub	w9, w9, #1360
	ldr	x10, [x22]
	str	w9, [x10, #16]
	mov	w9, #60416
	add	w8, w9, w8, lsl #7
	and	w8, w8, #0xff80
	ldr	w9, [x21, #20]
	orr	w8, w8, w9
	str	w8, [x10, #20]
	mov	w0, #4
	bl	_VI_REGCHANGE
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
	mov	w0, #5
	bl	_VI_REGCHANGE
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_regs,8,3                       ; @regs
	.comm	_changed,4,2                    ; @changed
	.no_dead_strip	___setHorizontalRegs
.subsections_via_symbols
