	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yenta_allocate_resources
_yenta_allocate_resources:              ## @yenta_allocate_resources
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_IORESOURCE_IO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_PCI_CB_IO_BASE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PCI_CB_IO_LIMIT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_yenta_allocate_res
	movq	%rax, %r14
	movl	(%rbx), %edx
	movq	_PCI_CB_IO_BASE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PCI_CB_IO_LIMIT_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_yenta_allocate_res
	movq	%rax, %r12
	addl	%r14d, %r12d
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r14
	movq	_IORESOURCE_PREFETCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r14), %edx
	movq	_PCI_CB_MEMORY_BASE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PCI_CB_MEMORY_LIMIT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_yenta_allocate_res
	movq	%rax, %rbx
	addl	%r12d, %ebx
	movl	(%r14), %edx
	movq	_PCI_CB_MEMORY_BASE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PCI_CB_MEMORY_LIMIT_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_yenta_allocate_res
	addl	%ebx, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_setup_cardbus              ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_IO,4,2              ## @IORESOURCE_IO
	.comm	_PCI_CB_IO_BASE_0,4,2           ## @PCI_CB_IO_BASE_0
	.comm	_PCI_CB_IO_LIMIT_0,4,2          ## @PCI_CB_IO_LIMIT_0
	.comm	_PCI_CB_IO_BASE_1,4,2           ## @PCI_CB_IO_BASE_1
	.comm	_PCI_CB_IO_LIMIT_1,4,2          ## @PCI_CB_IO_LIMIT_1
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_IORESOURCE_PREFETCH,4,2        ## @IORESOURCE_PREFETCH
	.comm	_PCI_CB_MEMORY_BASE_0,4,2       ## @PCI_CB_MEMORY_BASE_0
	.comm	_PCI_CB_MEMORY_LIMIT_0,4,2      ## @PCI_CB_MEMORY_LIMIT_0
	.comm	_PCI_CB_MEMORY_BASE_1,4,2       ## @PCI_CB_MEMORY_BASE_1
	.comm	_PCI_CB_MEMORY_LIMIT_1,4,2      ## @PCI_CB_MEMORY_LIMIT_1
	.no_dead_strip	_yenta_allocate_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yenta_allocate_resources
_yenta_allocate_resources:              ; @yenta_allocate_resources
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _IORESOURCE_IO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IORESOURCE_IO@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh2:
	adrp	x8, _PCI_CB_IO_BASE_0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_CB_IO_BASE_0@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _PCI_CB_IO_LIMIT_0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_CB_IO_LIMIT_0@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	w1, #0
	bl	_yenta_allocate_res
	mov	x20, x0
	ldr	w2, [x21]
Lloh8:
	adrp	x8, _PCI_CB_IO_BASE_1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCI_CB_IO_BASE_1@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x8, _PCI_CB_IO_LIMIT_1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCI_CB_IO_LIMIT_1@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_yenta_allocate_res
Lloh14:
	adrp	x21, _IORESOURCE_MEM@GOTPAGE
Lloh15:
	ldr	x21, [x21, _IORESOURCE_MEM@GOTPAGEOFF]
	add	w20, w0, w20
	ldr	w8, [x21]
Lloh16:
	adrp	x9, _IORESOURCE_PREFETCH@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IORESOURCE_PREFETCH@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh19:
	adrp	x8, _PCI_CB_MEMORY_BASE_0@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PCI_CB_MEMORY_BASE_0@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x8, _PCI_CB_MEMORY_LIMIT_0@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PCI_CB_MEMORY_LIMIT_0@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_yenta_allocate_res
	add	w20, w20, w0
	ldr	w2, [x21]
Lloh25:
	adrp	x8, _PCI_CB_MEMORY_BASE_1@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PCI_CB_MEMORY_BASE_1@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
Lloh28:
	adrp	x8, _PCI_CB_MEMORY_LIMIT_1@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PCI_CB_MEMORY_LIMIT_1@GOTPAGEOFF]
Lloh30:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w1, #3
	bl	_yenta_allocate_res
	cmn	w20, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pci_setup_cardbus
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_IO,4,2              ; @IORESOURCE_IO
	.comm	_PCI_CB_IO_BASE_0,4,2           ; @PCI_CB_IO_BASE_0
	.comm	_PCI_CB_IO_LIMIT_0,4,2          ; @PCI_CB_IO_LIMIT_0
	.comm	_PCI_CB_IO_BASE_1,4,2           ; @PCI_CB_IO_BASE_1
	.comm	_PCI_CB_IO_LIMIT_1,4,2          ; @PCI_CB_IO_LIMIT_1
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_IORESOURCE_PREFETCH,4,2        ; @IORESOURCE_PREFETCH
	.comm	_PCI_CB_MEMORY_BASE_0,4,2       ; @PCI_CB_MEMORY_BASE_0
	.comm	_PCI_CB_MEMORY_LIMIT_0,4,2      ; @PCI_CB_MEMORY_LIMIT_0
	.comm	_PCI_CB_MEMORY_BASE_1,4,2       ; @PCI_CB_MEMORY_BASE_1
	.comm	_PCI_CB_MEMORY_LIMIT_1,4,2      ; @PCI_CB_MEMORY_LIMIT_1
	.no_dead_strip	_yenta_allocate_resources
.subsections_via_symbols
