	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcb_get_resource               ## -- Begin function mcb_get_resource
	.p2align	4, 0x90
_mcb_get_resource:                      ## @mcb_get_resource
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r8
	leaq	4(%rdi), %rdx
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%esi, (%rcx)
	cmoveq	%rdi, %rax
	cmpl	%esi, (%r8)
	cmoveq	%rdx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcb_get_resource               ; -- Begin function mcb_get_resource
	.p2align	2
_mcb_get_resource:                      ; @mcb_get_resource
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x9, x0, #4
Lloh3:
	adrp	x10, _IORESOURCE_IRQ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w10, w1
	csel	x10, x0, xzr, eq
	cmp	w8, w1
	csel	x0, x9, x10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
.subsections_via_symbols
