	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenbusb_device_exists
_xenbusb_device_exists:                 ## @xenbusb_device_exists
	.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
	leaq	-40(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	callq	_device_get_children
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_9
LBB0_1:
	cmpl	$0, -28(%rbp)
	jle	LBB0_2
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-40(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_device_get_ivars
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	-28(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_8
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_6:
	movq	-40(%rbp), %rax
	movq	(%rax,%rbx,8), %r14
LBB0_8:
	movq	-40(%rbp), %rdi
	movq	_M_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_9:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.no_dead_strip	_xenbusb_device_exists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenbusb_device_exists
_xenbusb_device_exists:                 ; @xenbusb_device_exists
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_device_get_children
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	b	LBB0_9
LBB0_2:
	ldr	w8, [sp, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x0, [x8, x20, lsl #3]
	bl	_device_get_ivars
	ldr	w0, [x0]
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [sp, #4]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_6:
	mov	x19, #0
	b	LBB0_8
LBB0_7:
	ldr	x8, [sp, #8]
	ldr	x19, [x8, x20, lsl #3]
LBB0_8:
	ldr	x0, [sp, #8]
Lloh3:
	adrp	x8, _M_TEMP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_TEMP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_free
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.no_dead_strip	_xenbusb_device_exists
.subsections_via_symbols
