	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_exact_dev
_find_exact_dev:                        ## @find_exact_dev
	.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, %rbx
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	je	LBB0_1
LBB0_6:
	leaq	_find_exact_dev(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devinfo_foreach_device_child
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_DF_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_6
## %bb.2:
	movl	16(%r14), %edi
	callq	_devinfo_handle_to_device
	movq	%rax, %r15
	movq	(%rbx), %rdi
	movl	12(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movl	4(%r15), %ecx
	movl	8(%r15), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_asprintf
	movq	-32(%rbp), %rdi
	movl	16(%rbx), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r14, 8(%rbx)
LBB0_5:
	movq	-32(%rbp), %rdi
	callq	_free
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_DF_ENABLED,4,2                 ## @DF_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s"

	.no_dead_strip	_find_exact_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_exact_dev
_find_exact_dev:                        ; @find_exact_dev
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
LBB0_1:
Lloh0:
	adrp	x1, _find_exact_dev@PAGE
Lloh1:
	add	x1, x1, _find_exact_dev@PAGEOFF
	mov	x0, x20
	mov	x2, 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
LBB0_2:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _DF_ENABLED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DF_ENABLED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.3:
	ldr	w0, [x20, #16]
	bl	_devinfo_handle_to_device
	mov	x21, x0
	ldr	x0, [x19]
	ldr	w1, [x21, #12]
	bl	_strcmp
	cbnz	x0, LBB0_1
; %bb.4:
	ldp	w3, w2, [x21, #4]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	ldr	x0, [sp, #8]
	ldr	w1, [x19, #16]
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.5:
	str	x20, [x19, #8]
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DF_ENABLED,4,2                 ; @DF_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s"

	.no_dead_strip	_find_exact_dev
.subsections_via_symbols
