	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetFogRangeAdj              ## -- Begin function GX_SetFogRangeAdj
	.p2align	4, 0x90
_GX_SetFogRangeAdj:                     ## @GX_SetFogRangeAdj
	.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
	movl	%esi, %r12d
	movl	%edi, %r14d
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r15
	movq	(%rdx), %rax
	movl	4(%rax), %edi
	movl	$12, %esi
	movl	$12, %edx
	callq	__SHIFTL
	movq	(%r15), %rcx
	movl	$4095, %ebx                     ## imm = 0xFFF
	movl	(%rcx), %edi
	andl	%ebx, %edi
	orl	%eax, %edi
	orl	$-385875968, %edi               ## imm = 0xE9000000
	callq	_GX_LOAD_BP_REG
	movq	(%r15), %rax
	movl	12(%rax), %edi
	movl	$12, %esi
	movl	$12, %edx
	callq	__SHIFTL
	movq	(%r15), %rcx
	movl	8(%rcx), %edi
	andl	%ebx, %edi
	orl	%eax, %edi
	orl	$-369098752, %edi               ## imm = 0xEA000000
	callq	_GX_LOAD_BP_REG
	movq	(%r15), %rax
	movl	20(%rax), %edi
	movl	$12, %esi
	movl	$12, %edx
	callq	__SHIFTL
	movq	(%r15), %rcx
	movl	16(%rcx), %edi
	andl	%ebx, %edi
	orl	%eax, %edi
	orl	$-352321536, %edi               ## imm = 0xEB000000
	callq	_GX_LOAD_BP_REG
	movq	(%r15), %rax
	movl	28(%rax), %edi
	movl	$12, %esi
	movl	$12, %edx
	callq	__SHIFTL
	movq	(%r15), %rcx
	movl	24(%rcx), %edi
	andl	%ebx, %edi
	orl	%eax, %edi
	orl	$-335544320, %edi               ## imm = 0xEC000000
	callq	_GX_LOAD_BP_REG
	movq	(%r15), %rax
	movl	36(%rax), %edi
	movl	$12, %esi
	movl	$12, %edx
	callq	__SHIFTL
	movq	(%r15), %rcx
	andl	32(%rcx), %ebx
	orl	%eax, %ebx
	orl	$-318767104, %ebx               ## imm = 0xED000000
	movl	%ebx, %edi
	callq	_GX_LOAD_BP_REG
LBB0_2:
	movl	%r14d, %edi
	movl	$10, %esi
	movl	$1, %edx
	callq	__SHIFTL
	addl	$342, %r12d                     ## imm = 0x156
	andl	$1023, %r12d                    ## imm = 0x3FF
	orl	%eax, %r12d
	orl	$-402653184, %r12d              ## imm = 0xE8000000
	movl	%r12d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_LOAD_BP_REG                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetFogRangeAdj              ; -- Begin function GX_SetFogRangeAdj
	.p2align	2
_GX_SetFogRangeAdj:                     ; @GX_SetFogRangeAdj
	.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, x1
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x2
	ldr	x8, [x2]
	ldr	w0, [x8, #4]
	mov	w1, #12
	mov	w2, #12
	bl	__SHIFTL
	ldr	x8, [x21]
	ldr	w8, [x8]
	and	w8, w8, #0xfff
	orr	w8, w0, w8
	mov	w9, #-385875968
	orr	w0, w8, w9
	bl	_GX_LOAD_BP_REG
	ldr	x8, [x21]
	ldr	w0, [x8, #12]
	mov	w1, #12
	mov	w2, #12
	bl	__SHIFTL
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
	and	w8, w8, #0xfff
	orr	w8, w0, w8
	mov	w9, #-369098752
	orr	w0, w8, w9
	bl	_GX_LOAD_BP_REG
	ldr	x8, [x21]
	ldr	w0, [x8, #20]
	mov	w1, #12
	mov	w2, #12
	bl	__SHIFTL
	ldr	x8, [x21]
	ldr	w8, [x8, #16]
	and	w8, w8, #0xfff
	orr	w8, w0, w8
	mov	w9, #-352321536
	orr	w0, w8, w9
	bl	_GX_LOAD_BP_REG
	ldr	x8, [x21]
	ldr	w0, [x8, #28]
	mov	w1, #12
	mov	w2, #12
	bl	__SHIFTL
	ldr	x8, [x21]
	ldr	w8, [x8, #24]
	and	w8, w8, #0xfff
	orr	w8, w0, w8
	mov	w9, #-335544320
	orr	w0, w8, w9
	bl	_GX_LOAD_BP_REG
	ldr	x8, [x21]
	ldr	w0, [x8, #36]
	mov	w1, #12
	mov	w2, #12
	bl	__SHIFTL
	ldr	x8, [x21]
	ldr	w8, [x8, #32]
	and	w8, w8, #0xfff
	orr	w8, w0, w8
	mov	w9, #-318767104
	orr	w0, w8, w9
	bl	_GX_LOAD_BP_REG
LBB0_2:
	mov	x0, x20
	mov	w1, #10
	mov	w2, #1
	bl	__SHIFTL
	add	w8, w19, #342
	and	w8, w8, #0x3ff
	orr	w8, w8, w0
	mov	w9, #-402653184
	orr	w0, w8, w9
	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
	b	_GX_LOAD_BP_REG
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
