	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __SetSURegs
___SetSURegs:                           ## @__SetSURegs
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___gx@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdi,4), %edi
	movl	%edi, %r13d
	andl	$1023, %r13d                    ## imm = 0x3FF
	movl	$10, %esi
	movl	$10, %edx
	callq	__SHIFTR
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	(%rax,%r14,4), %edi
	movl	%edi, %r15d
	andl	$3, %r15d
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$2, %esi
	movl	$2, %edx
	callq	__SHIFTR
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	16(%rax), %rcx
	shll	$2, %ebx
	andl	$28, %ebx
	movw	%r13w, (%rcx,%rbx)
	movq	24(%rax), %rax
	movzwl	2(%rax,%rbx), %edx
	shll	$16, %edx
	orl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%edx, (%rax,%rbx)
	movl	$-65537, %r12d                  ## imm = 0xFFFEFFFF
	movl	(%rcx,%rbx), %r13d
	andl	%r12d, %r13d
	movq	%r15, %rdi
	movl	$16, %esi
	movl	$1, %edx
	callq	__SHIFTL
	orl	%r13d, %eax
	movq	___gx@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	16(%rcx), %rdx
	movl	%eax, (%rdx,%rbx)
	movq	24(%rcx), %rax
	andl	(%rax,%rbx), %r12d
	movq	%r14, %rdi
	movl	$16, %esi
	movl	$1, %edx
	callq	__SHIFTL
	orl	%r12d, %eax
	movq	(%r15), %rcx
	movq	24(%rcx), %rdx
	movl	%eax, (%rdx,%rbx)
	movq	16(%rcx), %rax
	movl	(%rax,%rbx), %edi
	callq	_GX_LOAD_BP_REG
	movq	(%r15), %rax
	movq	24(%rax), %rax
	movl	(%rax,%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_LOAD_BP_REG                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___gx,8,3                       ## @__gx
	.no_dead_strip	___SetSURegs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __SetSURegs
___SetSURegs:                           ; @__SetSURegs
	.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, x1
Lloh0:
	adrp	x23, ___gx@GOTPAGE
Lloh1:
	ldr	x23, [x23, ___gx@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8]
	lsl	x21, x0, #2
	ldr	w0, [x8, x21]
	and	w24, w0, #0x3ff
	mov	w1, #10
	mov	w2, #10
	bl	__SHIFTR
	mov	x20, x0
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x21]
	and	x21, x0, #0x3
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #2
	mov	w2, #2
	bl	__SHIFTR
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x9, [x8, #16]
	lsl	w10, w19, #2
	and	x19, x10, #0x1c
	strh	w24, [x9, x19]
	ldr	x8, [x8, #24]
	add	x8, x8, x19
	ldrh	w10, [x8, #2]
	orr	w10, w20, w10, lsl #16
	str	w10, [x8]
	ldr	w8, [x9, x19]
	and	w20, w8, #0xfffeffff
	mov	x0, x21
	mov	w1, #16
	mov	w2, #1
	bl	__SHIFTL
	orr	w8, w20, w0
	ldr	x9, [x23]
	ldp	x10, x9, [x9, #16]
	str	w8, [x10, x19]
	ldr	w8, [x9, x19]
	and	w20, w8, #0xfffeffff
	mov	x0, x22
	mov	w1, #16
	mov	w2, #1
	bl	__SHIFTL
	orr	w8, w20, w0
	ldr	x9, [x23]
	ldp	x9, x10, [x9, #16]
	str	w8, [x10, x19]
	ldr	w0, [x9, x19]
	bl	_GX_LOAD_BP_REG
	ldr	x8, [x23]
	ldr	x8, [x8, #24]
	ldr	w0, [x8, x19]
	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
	b	_GX_LOAD_BP_REG
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	___gx,8,3                       ; @__gx
	.no_dead_strip	___SetSURegs
.subsections_via_symbols
