	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_device                   ## -- Begin function print_device
	.p2align	4, 0x90
_print_device:                          ## @print_device
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_3:
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.4:
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$32, %edi
	callq	_putchar
	decl	%ebx
	jne	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_print_dev
	movl	$10, %edi
	callq	_putchar
	movq	_rflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	leal	4(%r15), %eax
	movl	%eax, -40(%rbp)
	movq	%r14, -32(%rbp)
	movq	_print_device_rman_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rsi
	callq	_devinfo_foreach_rman
	jmp	LBB0_8
LBB0_1:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.2:
	movq	8(%r14), %rax
	movq	_DS_ATTACHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
LBB0_8:
	addq	$2, %r15
	leaq	_print_device(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devinfo_foreach_device_child
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vflag,8,3                      ## @vflag
	.comm	_DS_ATTACHED,8,3                ## @DS_ATTACHED
	.comm	_rflag,8,3                      ## @rflag
	.comm	_print_device_rman_resources,4,2 ## @print_device_rman_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_device                   ; -- Begin function print_device
	.p2align	2
_print_device:                          ; @print_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _vflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vflag@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_1:
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #32
	bl	_putchar
	subs	w21, w21, #1
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_print_dev
	mov	w0, #10
	bl	_putchar
Lloh3:
	adrp	x8, _rflag@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rflag@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.5:
	add	w8, w20, #4
	str	w8, [sp]
	str	x19, [sp, #8]
Lloh6:
	adrp	x8, _print_device_rman_resources@GOTPAGE
Lloh7:
	ldr	x8, [x8, _print_device_rman_resources@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_devinfo_foreach_rman
	b	LBB0_8
LBB0_6:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _DS_ATTACHED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DS_ATTACHED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_1
LBB0_8:
	add	x2, x20, #2
Lloh12:
	adrp	x1, _print_device@PAGE
Lloh13:
	add	x1, x1, _print_device@PAGEOFF
	mov	x0, x19
	bl	_devinfo_foreach_device_child
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_vflag,8,3                      ; @vflag
	.comm	_DS_ATTACHED,8,3                ; @DS_ATTACHED
	.comm	_rflag,8,3                      ; @rflag
	.comm	_print_device_rman_resources,4,2 ; @print_device_rman_resources
.subsections_via_symbols
