	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_combios_sideport_present ## -- Begin function radeon_combios_sideport_present
	.p2align	4, 0x90
_radeon_combios_sideport_present:       ## @radeon_combios_sideport_present
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_CHIP_RS400@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.1:
	movq	8(%rdi), %rdi
	movq	_COMBIOS_INTEGRATED_SYSTEM_INFO_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_combios_get_table_offset
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	addq	$4, %rax
	movq	%rax, %rdi
	callq	_RBIOS16
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_RS400,8,3                 ## @CHIP_RS400
	.comm	_COMBIOS_INTEGRATED_SYSTEM_INFO_TABLE,4,2 ## @COMBIOS_INTEGRATED_SYSTEM_INFO_TABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_combios_sideport_present ; -- Begin function radeon_combios_sideport_present
	.p2align	2
_radeon_combios_sideport_present:       ; @radeon_combios_sideport_present
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHIP_RS400@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_RS400@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	ldr	x0, [x0, #8]
Lloh3:
	adrp	x8, _COMBIOS_INTEGRATED_SYSTEM_INFO_TABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMBIOS_INTEGRATED_SYSTEM_INFO_TABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_combios_get_table_offset
	cbz	x0, LBB0_4
; %bb.2:
	add	x0, x0, #4
	bl	_RBIOS16
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_RS400,8,3                 ; @CHIP_RS400
	.comm	_COMBIOS_INTEGRATED_SYSTEM_INFO_TABLE,4,2 ; @COMBIOS_INTEGRATED_SYSTEM_INFO_TABLE
.subsections_via_symbols
