	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_hw
_init_hw:                               ## @init_hw
	.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	%rdi, %r15
	movq	16(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	40(%r15), %rcx
	movq	(%rcx), %r14
	xorl	%ebx, %ebx
	movq	_PIPE_GATING_CONTROL_INIT@GOTPCREL(%rip), %r12
	movq	_PIPE_GATING_CONTROL_DISABLE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	*56(%r15)
	movl	(%r13), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	*56(%r15)
	movq	40(%r15), %rdi
	movl	$1, %esi
	callq	*48(%r15)
	incq	%rbx
	movq	16(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_2
LBB0_3:
	movl	32(%r15), %edi
	xorl	%esi, %esi
	callq	_dce_clock_gating_power_up
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	16(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.7:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rax), %rax
	movq	(%rax,%r14,8), %rbx
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_hwss_wait_for_blank_complete
	incq	%r14
	movq	16(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %r14
	jl	LBB0_8
LBB0_9:
	cmpl	$0, 4(%rax)
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	movq	16(%r15), %rax
	movslq	4(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_11
LBB0_12:
	movq	16(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.13:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	16(%r15), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	movq	(%rdi), %rax
	callq	*(%rax)
	movl	%eax, (%rbx)
LBB0_15:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.17:
	movq	(%rdi), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_GATING_CONTROL_INIT,4,2   ## @PIPE_GATING_CONTROL_INIT
	.comm	_PIPE_GATING_CONTROL_DISABLE,4,2 ## @PIPE_GATING_CONTROL_DISABLE
	.no_dead_strip	_init_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_hw
_init_hw:                               ; @init_hw
	.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, x0
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	ldr	x9, [x19, #40]
	ldr	x21, [x9]
Lloh0:
	adrp	x22, _PIPE_GATING_CONTROL_INIT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PIPE_GATING_CONTROL_INIT@GOTPAGEOFF]
Lloh2:
	adrp	x23, _PIPE_GATING_CONTROL_DISABLE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PIPE_GATING_CONTROL_DISABLE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #40]
	ldr	x0, [x8, x20, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	ldr	x8, [x19, #56]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
	ldr	x8, [x19, #56]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
	ldp	x0, x8, [x19, #40]
	mov	w1, #1
	blr	x8
	add	x20, x20, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	cmp	x20, x9
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x19, #32]
	mov	w1, #0
	bl	_dce_clock_gating_power_up
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x20, lsl #3]
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #32]
	ldr	x20, [x8, x21, lsl #3]
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	mov	w1, #1
	blr	x8
	mov	x0, x20
	bl	_hwss_wait_for_blank_complete
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.lt	LBB0_8
LBB0_9:
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x20, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #24]
	ldr	x0, [x8, x20, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	add	x20, x20, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8, #4]
	cmp	x20, x9
	b.lt	LBB0_11
LBB0_12:
	ldr	x20, [x8, #16]
	cbz	x20, LBB0_15
; %bb.13:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	str	w0, [x20]
LBB0_15:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x0]
	ldr	x1, [x8]
	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
	br	x1
LBB0_17:
	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	_PIPE_GATING_CONTROL_INIT,4,2   ; @PIPE_GATING_CONTROL_INIT
	.comm	_PIPE_GATING_CONTROL_DISABLE,4,2 ; @PIPE_GATING_CONTROL_DISABLE
	.no_dead_strip	_init_hw
.subsections_via_symbols
