	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hpd_disable              ## -- Begin function intel_hpd_disable
	.p2align	4, 0x90
_intel_hpd_disable:                     ## @intel_hpd_disable
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_HPD_NONE@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	%esi, (%rax)
	je	LBB0_4
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_spin_lock_irq
	movq	8(%r14), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rdx
	movq	_HPD_ENABLED@GOTPCREL(%rip), %rsi
	xorl	%r15d, %r15d
	cmpq	(%rsi), %rdx
	jne	LBB0_3
## %bb.2:
	movq	_HPD_DISABLED@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movl	$1, %r15d
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPD_NONE,4,2                   ## @HPD_NONE
	.comm	_HPD_ENABLED,8,3                ## @HPD_ENABLED
	.comm	_HPD_DISABLED,8,3               ## @HPD_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hpd_disable              ; -- Begin function intel_hpd_disable
	.p2align	2
_intel_hpd_disable:                     ; @intel_hpd_disable
	.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
Lloh0:
	adrp	x8, _HPD_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HPD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_6
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	bl	_spin_lock_irq
	ldr	x8, [x19, #8]
	ldr	x9, [x8, w20, uxtw #3]
Lloh3:
	adrp	x10, _HPD_ENABLED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HPD_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	mov	w9, w20
Lloh6:
	adrp	x10, _HPD_DISABLED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HPD_DISABLED@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	str	x10, [x8, x9, lsl #3]
	mov	w20, #1
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_irq
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HPD_NONE,4,2                   ; @HPD_NONE
	.comm	_HPD_ENABLED,8,3                ; @HPD_ENABLED
	.comm	_HPD_DISABLED,8,3               ; @HPD_DISABLED
.subsections_via_symbols
