	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gsc_start
_gsc_start:                             ## @gsc_start
	.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	%rdi, %r12
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_gsc_handle_irq
	movq	_GSC_ENABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_gsc_read
	movq	_GSC_ENABLE_ON_CLEAR_MASK@GOTPCREL(%rip), %rcx
	movq	_GSC_ENABLE_CLK_GATE_MODE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	_GSC_ENABLE_ON_CLEAR_ONESHOT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	(%r14), %esi
	callq	_gsc_write
	movq	_GSC_IN_CON@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_gsc_read
	movq	_GSC_IN_PATH_MASK@GOTPCREL(%rip), %rcx
	movq	_GSC_IN_LOCAL_SEL_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	_GSC_IN_PATH_MEMORY@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	(%r15), %esi
	callq	_gsc_write
	movq	_GSC_OUT_CON@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_gsc_read
	movq	_GSC_OUT_PATH_MEMORY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_gsc_write
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_gsc_set_scaler
	movl	(%r14), %edi
	callq	_gsc_read
	movq	_GSC_ENABLE_ON@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gsc_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GSC_ENABLE,4,2                 ## @GSC_ENABLE
	.comm	_GSC_ENABLE_ON_CLEAR_MASK,4,2   ## @GSC_ENABLE_ON_CLEAR_MASK
	.comm	_GSC_ENABLE_CLK_GATE_MODE_MASK,4,2 ## @GSC_ENABLE_CLK_GATE_MODE_MASK
	.comm	_GSC_ENABLE_ON_CLEAR_ONESHOT,4,2 ## @GSC_ENABLE_ON_CLEAR_ONESHOT
	.comm	_GSC_IN_CON,4,2                 ## @GSC_IN_CON
	.comm	_GSC_IN_PATH_MASK,4,2           ## @GSC_IN_PATH_MASK
	.comm	_GSC_IN_LOCAL_SEL_MASK,4,2      ## @GSC_IN_LOCAL_SEL_MASK
	.comm	_GSC_IN_PATH_MEMORY,4,2         ## @GSC_IN_PATH_MEMORY
	.comm	_GSC_OUT_CON,4,2                ## @GSC_OUT_CON
	.comm	_GSC_OUT_PATH_MEMORY,4,2        ## @GSC_OUT_PATH_MEMORY
	.comm	_GSC_ENABLE_ON,4,2              ## @GSC_ENABLE_ON
	.no_dead_strip	_gsc_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gsc_start
_gsc_start:                             ; @gsc_start
	.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, x0
	mov	w1, #1
	mov	w2, #0
	mov	w3, #1
	bl	_gsc_handle_irq
Lloh0:
	adrp	x20, _GSC_ENABLE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GSC_ENABLE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_gsc_read
Lloh2:
	adrp	x8, _GSC_ENABLE_ON_CLEAR_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSC_ENABLE_ON_CLEAR_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _GSC_ENABLE_CLK_GATE_MODE_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GSC_ENABLE_CLK_GATE_MODE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh8:
	adrp	x9, _GSC_ENABLE_ON_CLEAR_ONESHOT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GSC_ENABLE_ON_CLEAR_ONESHOT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	w1, [x20]
	bl	_gsc_write
Lloh11:
	adrp	x21, _GSC_IN_CON@GOTPAGE
Lloh12:
	ldr	x21, [x21, _GSC_IN_CON@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_gsc_read
Lloh13:
	adrp	x8, _GSC_IN_PATH_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GSC_IN_PATH_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _GSC_IN_LOCAL_SEL_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _GSC_IN_LOCAL_SEL_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh19:
	adrp	x9, _GSC_IN_PATH_MEMORY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _GSC_IN_PATH_MEMORY@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	w1, [x21]
	bl	_gsc_write
Lloh22:
	adrp	x21, _GSC_OUT_CON@GOTPAGE
Lloh23:
	ldr	x21, [x21, _GSC_OUT_CON@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_gsc_read
Lloh24:
	adrp	x8, _GSC_OUT_PATH_MEMORY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GSC_OUT_PATH_MEMORY@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	w1, [x21]
	bl	_gsc_write
	mov	x0, x19
	mov	x1, x19
	bl	_gsc_set_scaler
	ldr	w0, [x20]
	bl	_gsc_read
Lloh27:
	adrp	x8, _GSC_ENABLE_ON@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GSC_ENABLE_ON@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	w1, [x20]
	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	_gsc_write
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GSC_ENABLE,4,2                 ; @GSC_ENABLE
	.comm	_GSC_ENABLE_ON_CLEAR_MASK,4,2   ; @GSC_ENABLE_ON_CLEAR_MASK
	.comm	_GSC_ENABLE_CLK_GATE_MODE_MASK,4,2 ; @GSC_ENABLE_CLK_GATE_MODE_MASK
	.comm	_GSC_ENABLE_ON_CLEAR_ONESHOT,4,2 ; @GSC_ENABLE_ON_CLEAR_ONESHOT
	.comm	_GSC_IN_CON,4,2                 ; @GSC_IN_CON
	.comm	_GSC_IN_PATH_MASK,4,2           ; @GSC_IN_PATH_MASK
	.comm	_GSC_IN_LOCAL_SEL_MASK,4,2      ; @GSC_IN_LOCAL_SEL_MASK
	.comm	_GSC_IN_PATH_MEMORY,4,2         ; @GSC_IN_PATH_MEMORY
	.comm	_GSC_OUT_CON,4,2                ; @GSC_OUT_CON
	.comm	_GSC_OUT_PATH_MEMORY,4,2        ; @GSC_OUT_PATH_MEMORY
	.comm	_GSC_ENABLE_ON,4,2              ; @GSC_ENABLE_ON
	.no_dead_strip	_gsc_start
.subsections_via_symbols
