	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_read_blc_pwm_ctl
_i915_read_blc_pwm_ctl:                 ## @i915_read_blc_pwm_ctl
	.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, %r14
	movq	(%rdi), %r12
	movl	16(%r12), %edi
	callq	_HAS_PCH_SPLIT
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_BLC_PWM_PCH_CTL2@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_I915_READ
	movq	%rax, %rbx
	movq	(%r12), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	testq	%rbx, %rbx
	jne	LBB0_12
## %bb.4:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_I915_WRITE
	movq	%r14, %rbx
	jmp	LBB0_12
LBB0_5:
	movq	_BLC_PWM_CTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_I915_READ
	movq	%rax, %rbx
	movq	8(%r12), %r15
	testq	%r15, %r15
	je	LBB0_6
## %bb.8:
	testq	%rbx, %rbx
	jne	LBB0_12
## %bb.9:
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_I915_WRITE
	movq	%r14, %rdi
	callq	_INTEL_INFO
	cmpl	$4, (%rax)
	jl	LBB0_11
## %bb.10:
	movq	_BLC_PWM_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	callq	_I915_WRITE
LBB0_11:
	movq	%r15, %rbx
	jmp	LBB0_12
LBB0_2:
	movq	%rbx, (%r12)
	jmp	LBB0_12
LBB0_6:
	movq	%rbx, 8(%r12)
	movq	%r14, %rdi
	callq	_INTEL_INFO
	cmpl	$4, (%rax)
	jl	LBB0_12
## %bb.7:
	movq	_BLC_PWM_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	%rax, (%r12)
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLC_PWM_PCH_CTL2,4,2           ## @BLC_PWM_PCH_CTL2
	.comm	_BLC_PWM_CTL,4,2                ## @BLC_PWM_CTL
	.comm	_BLC_PWM_CTL2,4,2               ## @BLC_PWM_CTL2
	.no_dead_strip	_i915_read_blc_pwm_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_read_blc_pwm_ctl
_i915_read_blc_pwm_ctl:                 ; @i915_read_blc_pwm_ctl
	.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	x20, x0
	ldr	x22, [x0]
	ldr	w0, [x22, #16]
	bl	_HAS_PCH_SPLIT
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x21, _BLC_PWM_PCH_CTL2@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BLC_PWM_PCH_CTL2@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_I915_READ
	mov	x19, x0
	ldr	x20, [x22]
	cbz	x20, LBB0_9
; %bb.2:
	cbnz	x19, LBB0_12
; %bb.3:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_I915_WRITE
	mov	x19, x20
	b	LBB0_12
LBB0_4:
Lloh2:
	adrp	x23, _BLC_PWM_CTL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BLC_PWM_CTL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_I915_READ
	mov	x19, x0
	ldr	x21, [x22, #8]
	cbz	x21, LBB0_10
; %bb.5:
	cbnz	x19, LBB0_12
; %bb.6:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_I915_WRITE
	mov	x0, x20
	bl	_INTEL_INFO
	ldr	w8, [x0]
	cmp	w8, #4
	b.lt	LBB0_8
; %bb.7:
Lloh4:
	adrp	x8, _BLC_PWM_CTL2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BLC_PWM_CTL2@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x1, [x22]
	bl	_I915_WRITE
LBB0_8:
	mov	x19, x21
	b	LBB0_12
LBB0_9:
	str	x19, [x22]
	b	LBB0_12
LBB0_10:
	str	x19, [x22, #8]
	mov	x0, x20
	bl	_INTEL_INFO
	ldr	w8, [x0]
	cmp	w8, #4
	b.lt	LBB0_12
; %bb.11:
Lloh7:
	adrp	x8, _BLC_PWM_CTL2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BLC_PWM_CTL2@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_I915_READ
	str	x0, [x22]
LBB0_12:
	mov	x0, x19
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BLC_PWM_PCH_CTL2,4,2           ; @BLC_PWM_PCH_CTL2
	.comm	_BLC_PWM_CTL,4,2                ; @BLC_PWM_CTL
	.comm	_BLC_PWM_CTL2,4,2               ; @BLC_PWM_CTL2
	.no_dead_strip	_i915_read_blc_pwm_ctl
.subsections_via_symbols
