	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_qset
_skge_qset:                             ## @skge_qset
	.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, %r15d
	movq	8(%rdi), %r12
	movl	(%rdx), %r14d
	movq	_B0_CTST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	(%rdi), %r14d
	subl	4(%rdi), %r14d
	movq	%r12, %rdi
	callq	_skge_read16
	movq	_CS_BUS_CLOCK@GOTPCREL(%rip), %rcx
	movq	_CS_BUS_SLOT_SZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	movl	$768, %eax                      ## imm = 0x300
	movl	$1536, %ebx                     ## imm = 0x600
	cmovel	%eax, %ebx
	movq	_Q_CSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_Q_ADDR
	movq	_CSR_CLR_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skge_write32
	movq	_Q_F@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_Q_ADDR
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_skge_write32
	movq	_Q_DA_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_Q_ADDR
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skge_write32
	movq	_Q_DA_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_Q_ADDR
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skge_write32                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B0_CTST,4,2                    ## @B0_CTST
	.comm	_CS_BUS_CLOCK,4,2               ## @CS_BUS_CLOCK
	.comm	_CS_BUS_SLOT_SZ,4,2             ## @CS_BUS_SLOT_SZ
	.comm	_Q_CSR,4,2                      ## @Q_CSR
	.comm	_CSR_CLR_RESET,4,2              ## @CSR_CLR_RESET
	.comm	_Q_F,4,2                        ## @Q_F
	.comm	_Q_DA_H,4,2                     ## @Q_DA_H
	.comm	_Q_DA_L,4,2                     ## @Q_DA_L
	.no_dead_strip	_skge_qset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_qset
_skge_qset:                             ; @skge_qset
	.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	x20, x1
	ldr	x19, [x0, #8]
	ldr	w22, [x2]
	ldp	w23, w24, [x0]
Lloh0:
	adrp	x8, _B0_CTST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B0_CTST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skge_read16
Lloh3:
	adrp	x8, _CS_BUS_CLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CS_BUS_CLOCK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CS_BUS_SLOT_SZ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CS_BUS_SLOT_SZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	mov	w8, #1536
	mov	w9, #768
	csel	w21, w9, w8, eq
	add	w8, w22, w23
	sub	w22, w8, w24
Lloh9:
	adrp	x8, _Q_CSR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Q_CSR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_Q_ADDR
	mov	x1, x0
Lloh12:
	adrp	x8, _CSR_CLR_RESET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CSR_CLR_RESET@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_skge_write32
Lloh15:
	adrp	x8, _Q_F@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Q_F@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_Q_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_skge_write32
Lloh18:
	adrp	x8, _Q_DA_H@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Q_DA_H@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_Q_ADDR
	mov	x1, x0
	mov	x0, x19
	bl	_skge_write32
Lloh21:
	adrp	x8, _Q_DA_L@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Q_DA_L@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_Q_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	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	_skge_write32
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B0_CTST,4,2                    ; @B0_CTST
	.comm	_CS_BUS_CLOCK,4,2               ; @CS_BUS_CLOCK
	.comm	_CS_BUS_SLOT_SZ,4,2             ; @CS_BUS_SLOT_SZ
	.comm	_Q_CSR,4,2                      ; @Q_CSR
	.comm	_CSR_CLR_RESET,4,2              ; @CSR_CLR_RESET
	.comm	_Q_F,4,2                        ; @Q_F
	.comm	_Q_DA_H,4,2                     ; @Q_DA_H
	.comm	_Q_DA_L,4,2                     ; @Q_DA_L
	.no_dead_strip	_skge_qset
.subsections_via_symbols
