	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_device_rman_resources    ## -- Begin function print_device_rman_resources
	.p2align	4, 0x90
_print_device_rman_resources:           ## @print_device_rman_resources
	.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	%rsi, %r13
	movq	%rdi, %r14
	movl	(%rsi), %r15d
	movl	$0, (%rsi)
	movq	_print_device_matching_resource@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdx
	callq	_devinfo_foreach_rman_resource
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_4
## %bb.2:
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$32, %edi
	callq	_putchar
	decl	%ebx
	jne	LBB0_3
LBB0_4:
	movq	(%r14), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leal	4(%r15), %eax
	movl	%eax, (%r13)
	movl	(%r12), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_devinfo_foreach_rman_resource
LBB0_5:
	movl	%r15d, (%r13)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_print_device_matching_resource,4,2 ## @print_device_matching_resource
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s:\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_device_rman_resources    ; -- Begin function print_device_rman_resources
	.p2align	2
_print_device_rman_resources:           ; @print_device_rman_resources
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w21, [x1]
	str	wzr, [x1]
Lloh0:
	adrp	x22, _print_device_matching_resource@GOTPAGE
Lloh1:
	ldr	x22, [x22, _print_device_matching_resource@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x2, x19
	bl	_devinfo_foreach_rman_resource
	cbz	x0, LBB0_5
; %bb.1:
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #32
	bl	_putchar
	subs	w23, w23, #1
	b.ne	LBB0_3
LBB0_4:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	w8, w21, #4
	str	w8, [x19]
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x19
	bl	_devinfo_foreach_rman_resource
LBB0_5:
	str	w21, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_print_device_matching_resource,4,2 ; @print_device_matching_resource
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s:\n"

.subsections_via_symbols
