	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function define_ddc_registers
_define_ddc_registers:                  ## @define_ddc_registers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_HW_DDC_FROM_BASE
	movl	(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_ddc_clk_regs@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	movq	_ddc_data_regs@GOTPCREL(%rip), %rcx
LBB0_4:
	shlq	$2, %r14
	addq	(%rcx), %r14
	movq	%r14, 24(%rax)
	movq	%r14, 16(%rax)
	movq	_ddc_shift@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	_ddc_mask@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ASSERT_CRITICAL                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ddc_data_regs,8,3              ## @ddc_data_regs
	.comm	_ddc_clk_regs,8,3               ## @ddc_clk_regs
	.comm	_ddc_shift,4,2                  ## @ddc_shift
	.comm	_ddc_mask,4,2                   ## @ddc_mask
	.no_dead_strip	_define_ddc_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function define_ddc_registers
_define_ddc_registers:                  ; @define_ddc_registers
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_HW_DDC_FROM_BASE
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _ddc_clk_regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ddc_clk_regs@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _ddc_data_regs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ddc_data_regs@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	add	x8, x8, x19, lsl #2
	stp	x8, x8, [x0, #16]
Lloh4:
	adrp	x8, _ddc_shift@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ddc_shift@GOTPAGEOFF]
Lloh6:
	adrp	x9, _ddc_mask@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ddc_mask@GOTPAGEOFF]
	stp	x9, x8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ASSERT_CRITICAL
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ddc_data_regs,8,3              ; @ddc_data_regs
	.comm	_ddc_clk_regs,8,3               ; @ddc_clk_regs
	.comm	_ddc_shift,4,2                  ; @ddc_shift
	.comm	_ddc_mask,4,2                   ; @ddc_mask
	.no_dead_strip	_define_ddc_registers
.subsections_via_symbols
