	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_atpx_pci_probe_handle
_amdgpu_atpx_pci_probe_handle:          ## @amdgpu_atpx_pci_probe_handle
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_ACPI_HANDLE
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rax, %rdi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_amdgpu_atpx_priv@GOTPCREL(%rip), %rax
	movq	%rbx, 16(%rax)
	jmp	LBB0_4
LBB0_3:
	movq	_amdgpu_atpx_priv@GOTPCREL(%rip), %rax
	movq	%rbx, 8(%rax)
	movq	-24(%rbp), %rcx
	movq	%rcx, (%rax)
	movl	$1, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ATPX"

	.comm	_amdgpu_atpx_priv,24,3          ## @amdgpu_atpx_priv
	.no_dead_strip	_amdgpu_atpx_pci_probe_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_atpx_pci_probe_handle
_amdgpu_atpx_pci_probe_handle:          ; @amdgpu_atpx_pci_probe_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_ACPI_HANDLE
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
Lloh2:
	adrp	x8, _amdgpu_atpx_priv@GOTPAGE
Lloh3:
	ldr	x8, [x8, _amdgpu_atpx_priv@GOTPAGEOFF]
Lloh4:
	str	x19, [x8, #16]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _amdgpu_atpx_priv@GOTPAGE
Lloh6:
	ldr	x8, [x8, _amdgpu_atpx_priv@GOTPAGEOFF]
	ldr	x9, [sp, #8]
	stp	x9, x19, [x8]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ATPX"

	.comm	_amdgpu_atpx_priv,24,3          ; @amdgpu_atpx_priv
	.no_dead_strip	_amdgpu_atpx_pci_probe_handle
.subsections_via_symbols
