	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f17_get_cs_mode
_f17_get_cs_mode:                       ## @f17_get_cs_mode
	.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	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	leal	(%rbx,%rbx), %edi
	callq	_csrow_enabled
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_CS_EVEN_PRIMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	leal	(%rbx,%rbx), %r12d
	incl	%r12d
	movl	%r12d, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_csrow_enabled
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_CS_ODD_PRIMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	orl	%r13d, %ebx
	movl	%r12d, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_csrow_sec_enabled
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_6
## %bb.5:
	movq	_CS_ODD_SECONDARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	orl	%eax, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS_EVEN_PRIMARY,4,2            ## @CS_EVEN_PRIMARY
	.comm	_CS_ODD_PRIMARY,4,2             ## @CS_ODD_PRIMARY
	.comm	_CS_ODD_SECONDARY,4,2           ## @CS_ODD_SECONDARY
	.no_dead_strip	_f17_get_cs_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f17_get_cs_mode
_f17_get_cs_mode:                       ; @f17_get_cs_mode
	.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
	lsl	w0, w0, #1
	bl	_csrow_enabled
Lloh0:
	adrp	x8, _CS_EVEN_PRIMARY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS_EVEN_PRIMARY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w23, wzr, w8, eq
	mov	w22, #1
	bfi	w22, w21, #1, #31
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_csrow_enabled
Lloh3:
	adrp	x8, _CS_ODD_PRIMARY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CS_ODD_PRIMARY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w21, w8, w23
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_csrow_sec_enabled
Lloh6:
	adrp	x8, _CS_ODD_SECONDARY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CS_ODD_SECONDARY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w0, w21, w8
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CS_EVEN_PRIMARY,4,2            ; @CS_EVEN_PRIMARY
	.comm	_CS_ODD_PRIMARY,4,2             ; @CS_ODD_PRIMARY
	.comm	_CS_ODD_SECONDARY,4,2           ; @CS_ODD_SECONDARY
	.no_dead_strip	_f17_get_cs_mode
.subsections_via_symbols
