	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_bar
_decode_bar:                            ## @decode_bar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PCI_BASE_ADDRESS_SPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movq	_PCI_BASE_ADDRESS_SPACE_IO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_PCI_BASE_ADDRESS_IO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%esi, %eax
	cltq
	movq	_IORESOURCE_IO@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	popq	%rbp
	retq
LBB0_2:
	movq	_PCI_BASE_ADDRESS_MEM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%esi, %eax
	movslq	%eax, %rcx
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_PCI_BASE_ADDRESS_MEM_PREFETCH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%rcx, %rax
	je	LBB0_4
## %bb.3:
	movq	_IORESOURCE_PREFETCH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	movq	_PCI_BASE_ADDRESS_MEM_TYPE_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %esi
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.6:
	movq	_IORESOURCE_MEM_64@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	jmp	LBB0_7
LBB0_5:
	xorl	%edx, %edx
LBB0_7:
	orq	%rdx, %rcx
	orq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_BASE_ADDRESS_SPACE,4,2     ## @PCI_BASE_ADDRESS_SPACE
	.comm	_PCI_BASE_ADDRESS_SPACE_IO,4,2  ## @PCI_BASE_ADDRESS_SPACE_IO
	.comm	_PCI_BASE_ADDRESS_IO_MASK,4,2   ## @PCI_BASE_ADDRESS_IO_MASK
	.comm	_IORESOURCE_IO,8,3              ## @IORESOURCE_IO
	.comm	_PCI_BASE_ADDRESS_MEM_MASK,4,2  ## @PCI_BASE_ADDRESS_MEM_MASK
	.comm	_IORESOURCE_MEM,8,3             ## @IORESOURCE_MEM
	.comm	_PCI_BASE_ADDRESS_MEM_PREFETCH,8,3 ## @PCI_BASE_ADDRESS_MEM_PREFETCH
	.comm	_IORESOURCE_PREFETCH,8,3        ## @IORESOURCE_PREFETCH
	.comm	_PCI_BASE_ADDRESS_MEM_TYPE_MASK,4,2 ## @PCI_BASE_ADDRESS_MEM_TYPE_MASK
	.comm	_IORESOURCE_MEM_64,8,3          ## @IORESOURCE_MEM_64
	.no_dead_strip	_decode_bar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_bar
_decode_bar:                            ; @decode_bar
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PCI_BASE_ADDRESS_SPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_BASE_ADDRESS_SPACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _PCI_BASE_ADDRESS_SPACE_IO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_BASE_ADDRESS_SPACE_IO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _PCI_BASE_ADDRESS_IO_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_BASE_ADDRESS_IO_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w8, w1, w8
	sxtw	x8, w8
Lloh9:
	adrp	x9, _IORESOURCE_IO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IORESOURCE_IO@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	orr	x0, x9, x8
	ret
LBB0_2:
Lloh12:
	adrp	x8, _PCI_BASE_ADDRESS_MEM_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCI_BASE_ADDRESS_MEM_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	bic	w8, w1, w8
	sxtw	x8, w8
Lloh15:
	adrp	x9, _IORESOURCE_MEM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _PCI_BASE_ADDRESS_MEM_PREFETCH@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PCI_BASE_ADDRESS_MEM_PREFETCH@GOTPAGEOFF]
	orr	x8, x9, x8
Lloh20:
	ldr	x9, [x10]
Lloh21:
	adrp	x10, _IORESOURCE_PREFETCH@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IORESOURCE_PREFETCH@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	tst	x8, x9
	csel	x9, xzr, x10, eq
	orr	x8, x9, x8
Lloh24:
	adrp	x9, _PCI_BASE_ADDRESS_MEM_TYPE_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PCI_BASE_ADDRESS_MEM_TYPE_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w9, w9, w1
Lloh27:
	adrp	x10, _IORESOURCE_MEM_64@GOTPAGE
Lloh28:
	ldr	x10, [x10, _IORESOURCE_MEM_64@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	cmp	w9, #128
	csel	x9, x10, xzr, eq
	orr	x0, x8, x9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_BASE_ADDRESS_SPACE,4,2     ; @PCI_BASE_ADDRESS_SPACE
	.comm	_PCI_BASE_ADDRESS_SPACE_IO,4,2  ; @PCI_BASE_ADDRESS_SPACE_IO
	.comm	_PCI_BASE_ADDRESS_IO_MASK,4,2   ; @PCI_BASE_ADDRESS_IO_MASK
	.comm	_IORESOURCE_IO,8,3              ; @IORESOURCE_IO
	.comm	_PCI_BASE_ADDRESS_MEM_MASK,4,2  ; @PCI_BASE_ADDRESS_MEM_MASK
	.comm	_IORESOURCE_MEM,8,3             ; @IORESOURCE_MEM
	.comm	_PCI_BASE_ADDRESS_MEM_PREFETCH,8,3 ; @PCI_BASE_ADDRESS_MEM_PREFETCH
	.comm	_IORESOURCE_PREFETCH,8,3        ; @IORESOURCE_PREFETCH
	.comm	_PCI_BASE_ADDRESS_MEM_TYPE_MASK,4,2 ; @PCI_BASE_ADDRESS_MEM_TYPE_MASK
	.comm	_IORESOURCE_MEM_64,8,3          ; @IORESOURCE_MEM_64
	.no_dead_strip	_decode_bar
.subsections_via_symbols
