	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ds_bts_control
_ds_bts_control:                        ## @ds_bts_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ds_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_dsf_bts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rax
	movl	(%rdi), %edx
	movq	_BTS_KERNEL@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_2
## %bb.1:
	movq	_dsf_bts_kernel@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	orq	(%rcx,%rsi,8), %rax
LBB0_2:
	movq	_BTS_USER@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	movq	_dsf_bts_user@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orq	(%rcx,%rdx,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_cfg,8,3                     ## @ds_cfg
	.comm	_dsf_bts,8,3                    ## @dsf_bts
	.comm	_BTS_KERNEL,4,2                 ## @BTS_KERNEL
	.comm	_dsf_bts_kernel,8,3             ## @dsf_bts_kernel
	.comm	_BTS_USER,4,2                   ## @BTS_USER
	.comm	_dsf_bts_user,8,3               ## @dsf_bts_user
	.no_dead_strip	_ds_bts_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ds_bts_control
_ds_bts_control:                        ; @ds_bts_control
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _ds_cfg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ds_cfg@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _dsf_bts@GOTPAGE
Lloh4:
	ldr	x10, [x10, _dsf_bts@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x0, [x9, x10, lsl #3]
	ldr	w8, [x8]
Lloh6:
	adrp	x10, _BTS_KERNEL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BTS_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x10, _dsf_bts_kernel@GOTPAGE
Lloh10:
	ldr	x10, [x10, _dsf_bts_kernel@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	ldr	x10, [x9, x10, lsl #3]
	orr	x0, x10, x0
LBB0_2:
Lloh12:
	adrp	x10, _BTS_USER@GOTPAGE
Lloh13:
	ldr	x10, [x10, _BTS_USER@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_4
; %bb.3:
	ret
LBB0_4:
Lloh15:
	adrp	x8, _dsf_bts_user@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dsf_bts_user@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x8, [x9, x8, lsl #3]
	orr	x0, x8, x0
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_cfg,8,3                     ; @ds_cfg
	.comm	_dsf_bts,8,3                    ; @dsf_bts
	.comm	_BTS_KERNEL,4,2                 ; @BTS_KERNEL
	.comm	_dsf_bts_kernel,8,3             ; @dsf_bts_kernel
	.comm	_BTS_USER,4,2                   ; @BTS_USER
	.comm	_dsf_bts_user,8,3               ; @dsf_bts_user
	.no_dead_strip	_ds_bts_control
.subsections_via_symbols
