	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function goya_set_ddr_bar_base
_goya_set_ddr_bar_base:                 ## @goya_set_ddr_bar_base
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	cmpq	%r14, (%rbx)
	je	LBB0_5
## %bb.2:
	movl	$1, %esi
	movl	$4, %edx
	movq	%r14, %rcx
	callq	_hl_pci_set_dram_bar_base
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	(%rbx), %rax
	movq	%r14, (%rbx)
	movq	%rax, %r14
	jmp	LBB0_5
LBB0_6:
	movl	$1, %esi
	movl	$4, %edx
	movq	%r14, %rcx
	callq	_hl_pci_set_dram_bar_base
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	movq	_U64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_U64_MAX,8,3                    ## @U64_MAX
	.no_dead_strip	_goya_set_ddr_bar_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function goya_set_ddr_bar_base
_goya_set_ddr_bar_base:                 ; @goya_set_ddr_bar_base
	.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
	mov	x19, x1
	ldr	x20, [x0]
	cbz	x20, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_6
; %bb.2:
	mov	w1, #1
	mov	w2, #4
	mov	x3, x19
	bl	_hl_pci_set_dram_bar_base
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x20]
	str	x19, [x20]
	mov	x19, x8
	b	LBB0_6
LBB0_4:
	mov	w1, #1
	mov	w2, #4
	mov	x3, x19
	bl	_hl_pci_set_dram_bar_base
	cbz	w0, LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _U64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _U64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_U64_MAX,8,3                    ; @U64_MAX
	.no_dead_strip	_goya_set_ddr_bar_base
.subsections_via_symbols
