	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btc_skip_blacklist_clocks      ## -- Begin function btc_skip_blacklist_clocks
	.p2align	4, 0x90
_btc_skip_blacklist_clocks:             ## @btc_skip_blacklist_clocks
	.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
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.1:
	movq	%r8, %rbx
	testq	%r8, %r8
	je	LBB0_10
## %bb.2:
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_btc_blacklist_clocks@GOTPCREL(%rip), %r13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rcx
	movq	(%r14), %rdx
	movl	%eax, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rax
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	addq	$24, %rsi
	cmpq	%rsi, %rax
	je	LBB0_10
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdx, (%rcx,%rsi)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	8(%rcx,%rsi), %rdi
	cmpq	(%rbx), %rdi
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx,%rsi), %rax
	movq	_RADEON_SCLK_UP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_btc_get_valid_sclk
	movq	%rax, (%r14)
	cmpq	%r15, %rax
	jl	LBB0_3
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_btc_blacklist_clocks,8,3       ## @btc_blacklist_clocks
	.comm	_RADEON_SCLK_UP,8,3             ## @RADEON_SCLK_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btc_skip_blacklist_clocks      ; -- Begin function btc_skip_blacklist_clocks
	.p2align	2
_btc_skip_blacklist_clocks:             ; @btc_skip_blacklist_clocks
	.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
	cbz	x3, LBB0_10
; %bb.1:
	mov	x19, x4
	cbz	x4, LBB0_10
; %bb.2:
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _btc_blacklist_clocks@GOTPAGE
Lloh1:
	ldr	x23, [x23, _btc_blacklist_clocks@GOTPAGEOFF]
Lloh2:
	adrp	x24, _RADEON_SCLK_UP@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RADEON_SCLK_UP@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x23]
	ldr	x8, [x20]
	mov	w9, w0
	add	x10, x10, #16
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x10, x10, #24
	subs	x9, x9, #1
	b.eq	LBB0_10
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x11, [x10, #-16]
	cmp	x11, x8
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldur	x11, [x10, #-8]
	ldr	x12, [x19]
	cmp	x11, x12
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x10]
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, x8, #1
	mov	x0, x22
	mov	x1, x21
	bl	_btc_get_valid_sclk
	str	x0, [x20]
	cmp	x0, x21
	b.lt	LBB0_3
LBB0_10:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_btc_blacklist_clocks,8,3       ; @btc_blacklist_clocks
	.comm	_RADEON_SCLK_UP,8,3             ; @RADEON_SCLK_UP
.subsections_via_symbols
