	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_resource_list
_dump_resource_list:                    ## @dump_resource_list
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edi, %r12d
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-48(%rbp), %rax
	leaq	-56(%rbp), %rcx
	movl	%esi, %edi
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_spvc_resources_get_resource_list_for_type
	movl	%eax, %edi
	callq	_SPVC_CHECKED_CALL
	movq	%r14, %rdi
	callq	_puts
	cmpq	$0, -56(%rbp)
	je	LBB0_3
## %bb.1:
	leaq	L_.str.2(%rip), %r15
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	(%rax,%r13), %esi
	movl	4(%rax,%r13), %edx
	movl	8(%rax,%r13), %ecx
	movq	16(%rax,%r13), %r8
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rax
	movl	(%rax,%r13), %esi
	movq	_SpvDecorationDescriptorSet@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_spvc_compiler_get_decoration
	movl	%eax, %ebx
	movq	-48(%rbp), %rax
	movl	(%rax,%r13), %esi
	movq	_SpvDecorationBinding@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_spvc_compiler_get_decoration
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	incq	%r14
	addq	$24, %r13
	cmpq	-56(%rbp), %r14
	jb	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"ID: %u, BaseTypeID: %u, TypeID: %u, Name: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"  Set: %u, Binding: %u\n"

	.comm	_SpvDecorationDescriptorSet,4,2 ## @SpvDecorationDescriptorSet
	.comm	_SpvDecorationBinding,4,2       ## @SpvDecorationBinding
	.no_dead_strip	_dump_resource_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_resource_list
_dump_resource_list:                    ; @dump_resource_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x8, x2
	mov	x19, x0
	stp	xzr, xzr, [sp, #32]
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, x1
	mov	x1, x8
	bl	_spvc_resources_get_resource_list_for_type
	bl	_SPVC_CHECKED_CALL
	mov	x0, x20
	bl	_puts
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh0:
	adrp	x20, l_.str.1@PAGE
Lloh1:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh2:
	adrp	x25, _SpvDecorationDescriptorSet@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SpvDecorationDescriptorSet@GOTPAGEOFF]
Lloh4:
	adrp	x26, _SpvDecorationBinding@GOTPAGE
Lloh5:
	ldr	x26, [x26, _SpvDecorationBinding@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #40]
	add	x8, x8, x23
	ldr	x9, [x8, #16]
	ldp	w10, w11, [x8]
	ldr	w8, [x8, #8]
	stp	x8, x9, [sp, #16]
	stp	x10, x11, [sp]
	mov	x0, x20
	bl	_printf
	ldr	x8, [sp, #40]
	ldr	w1, [x8, x23]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_spvc_compiler_get_decoration
	mov	x22, x0
	ldr	x8, [sp, #40]
	ldr	w1, [x8, x23]
	ldr	w2, [x26]
	mov	x0, x19
	bl	_spvc_compiler_get_decoration
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
	mov	x0, x21
	bl	_printf
	add	x24, x24, #1
	ldr	x8, [sp, #32]
	add	x23, x23, #24
	cmp	x24, x8
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"ID: %u, BaseTypeID: %u, TypeID: %u, Name: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"  Set: %u, Binding: %u\n"

	.comm	_SpvDecorationDescriptorSet,4,2 ; @SpvDecorationDescriptorSet
	.comm	_SpvDecorationBinding,4,2       ; @SpvDecorationBinding
	.no_dead_strip	_dump_resource_list
.subsections_via_symbols
