	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function device_collector
_device_collector:                      ## @device_collector
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	32(%rdi), %rsi
	movq	24(%rdi), %rdx
	movl	20(%rdi), %r8d
	movl	16(%rdi), %r9d
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_HRDBG
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	cmpb	$0, (%rsi)
	jne	LBB0_2
## %bb.1:
	cmpb	$0, (%rdx)
	je	LBB0_7
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_HRDBG
	movq	%rbx, %rdi
	callq	_device_find_by_dev
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r15
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_device_entry_create_devinfo
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r15
	movq	%rax, %rsi
	addq	$12, %rsi
	movq	%rbx, %rdi
	callq	_device_get_type
LBB0_4:
	movq	_HR_DEVICE_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r15)
	movq	%rbx, %rdi
	callq	_device_get_status
	movq	%rax, (%r15)
LBB0_8:
	leaq	_device_collector(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devinfo_foreach_device_child   ## TAILCALL
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movq	%rdx, %rsi
	xorl	%eax, %eax
	callq	_HRDBG
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%llu/%llu name='%s' desc='%s' drivername='%s' location='%s'"

L_.str.1:                               ## @.str.1
	.asciz	"ANALYZING dev %s at %s"

	.comm	_HR_DEVICE_FOUND,4,2            ## @HR_DEVICE_FOUND
L_.str.2:                               ## @.str.2
	.asciz	"SKIPPED unknown device at location '%s'"

	.no_dead_strip	_device_collector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function device_collector
_device_collector:                      ; @device_collector
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
	ldp	x9, x8, [x0, #24]
	ldp	x10, x11, [x0]
	ldp	w13, w12, [x0, #16]
	stp	x13, x11, [sp, #32]
	stp	x10, x12, [sp, #16]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HRDBG
	ldp	x9, x8, [x20]
	ldrb	w10, [x9]
	cbnz	w10, LBB0_2
; %bb.1:
	ldrb	w10, [x8]
	cbz	w10, LBB0_8
LBB0_2:
	stp	x9, x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_HRDBG
	mov	x0, x20
	bl	_device_find_by_dev
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_device_entry_create_devinfo
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	add	x1, x0, #12
	mov	x0, x20
	bl	_device_get_type
LBB0_6:
Lloh4:
	adrp	x8, _HR_DEVICE_FOUND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HR_DEVICE_FOUND@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x21, #8]
	orr	w8, w9, w8
	str	w8, [x21, #8]
	mov	x0, x20
	bl	_device_get_status
	str	x0, [x21]
LBB0_7:
Lloh7:
	adrp	x1, _device_collector@PAGE
Lloh8:
	add	x1, x1, _device_collector@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_devinfo_foreach_device_child
LBB0_8:
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_HRDBG
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%llu/%llu name='%s' desc='%s' drivername='%s' location='%s'"

l_.str.1:                               ; @.str.1
	.asciz	"ANALYZING dev %s at %s"

	.comm	_HR_DEVICE_FOUND,4,2            ; @HR_DEVICE_FOUND
l_.str.2:                               ; @.str.2
	.asciz	"SKIPPED unknown device at location '%s'"

	.no_dead_strip	_device_collector
.subsections_via_symbols
