	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pnpbios_parse_allocated_ioresource
_pnpbios_parse_allocated_ioresource:    ## @pnpbios_parse_allocated_ioresource
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	leal	(%rdx,%rsi), %eax
	xorl	%ecx, %ecx
	cmpl	$65540, %eax                    ## imm = 0x10004
	movq	_IORESOURCE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovgel	%eax, %ecx
	testl	%edx, %edx
	cmovlel	%eax, %ecx
	addl	%esi, %edx
	decl	%edx
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbp
	jmp	_pnp_add_io_resource            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_DISABLED,4,2        ## @IORESOURCE_DISABLED
	.no_dead_strip	_pnpbios_parse_allocated_ioresource
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pnpbios_parse_allocated_ioresource
_pnpbios_parse_allocated_ioresource:    ; @pnpbios_parse_allocated_ioresource
	.cfi_startproc
; %bb.0:
	mov	w8, #3
	movk	w8, #1, lsl #16
	add	w9, w2, w1
	cmp	w9, w8
	ccmp	w2, #1, #8, le
Lloh0:
	adrp	x8, _IORESOURCE_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	csel	w3, w8, wzr, lt
	sub	w2, w9, #1
	b	_pnp_add_io_resource
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_DISABLED,4,2        ; @IORESOURCE_DISABLED
	.no_dead_strip	_pnpbios_parse_allocated_ioresource
.subsections_via_symbols
