	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_register_atpx_handler   ## -- Begin function radeon_register_atpx_handler
	.p2align	4, 0x90
_radeon_register_atpx_handler:          ## @radeon_register_atpx_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_radeon_atpx_detect
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_radeon_atpx_handler@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	popq	%rbp
	jmp	_vga_switcheroo_register_handler ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_radeon_atpx_handler,4,2        ## @radeon_atpx_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_register_atpx_handler   ; -- Begin function radeon_register_atpx_handler
	.p2align	2
_radeon_register_atpx_handler:          ; @radeon_register_atpx_handler
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_radeon_atpx_detect
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, _radeon_atpx_handler@GOTPAGE
Lloh1:
	ldr	x0, [x0, _radeon_atpx_handler@GOTPAGEOFF]
	mov	w1, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_vga_switcheroo_register_handler
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_radeon_atpx_handler,4,2        ; @radeon_atpx_handler
.subsections_via_symbols
