	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_bars
_list_bars:                             ## @list_bars
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PCIM_HDRTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_4
## %bb.1:
	cltq
	leaq	l_switch.table.list_bars(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	js	LBB0_4
## %bb.2:
	movq	%rsi, %r15
	movl	%edi, %r14d
	incl	%r13d
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_PCIR_BAR
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_print_bar
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIM_HDRTYPE,4,2               ## @PCIM_HDRTYPE
	.comm	_PCIR_MAX_BAR_0,4,2             ## @PCIR_MAX_BAR_0
	.comm	_PCIR_MAX_BAR_1,4,2             ## @PCIR_MAX_BAR_1
	.comm	_PCIR_MAX_BAR_2,4,2             ## @PCIR_MAX_BAR_2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bar   "

	.no_dead_strip	_list_bars
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.list_bars
l_switch.table.list_bars:
	.quad	_PCIR_MAX_BAR_0
	.quad	_PCIR_MAX_BAR_2
	.quad	_PCIR_MAX_BAR_1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_bars
_list_bars:                             ; @list_bars
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _PCIM_HDRTYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCIM_HDRTYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, l_switch.table.list_bars@PAGE
Lloh4:
	add	x9, x9, l_switch.table.list_bars@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_4
; %bb.2:
	mov	x19, x1
	mov	x20, x0
	mov	w21, #0
	add	w23, w8, #1
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_PCIR_BAR
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_print_bar
	add	w21, w21, #1
	cmp	w23, w21
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIM_HDRTYPE,4,2               ; @PCIM_HDRTYPE
	.comm	_PCIR_MAX_BAR_0,4,2             ; @PCIR_MAX_BAR_0
	.comm	_PCIR_MAX_BAR_1,4,2             ; @PCIR_MAX_BAR_1
	.comm	_PCIR_MAX_BAR_2,4,2             ; @PCIR_MAX_BAR_2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bar   "

	.no_dead_strip	_list_bars
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.list_bars
l_switch.table.list_bars:
	.quad	_PCIR_MAX_BAR_0
	.quad	_PCIR_MAX_BAR_2
	.quad	_PCIR_MAX_BAR_1

.subsections_via_symbols
