	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenbusb_devices_changed
_xenbusb_devices_changed:               ## @xenbusb_devices_changed
	.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	(%rdi), %r15
	movq	_XS_WATCH_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edx, %eax
	jae	LBB0_13
## %bb.1:
	movq	(%rsi,%rax,8), %rdi
	movq	_M_XENBUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_strdup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %rbx
	movb	$0, (%rax)
	incq	%rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	movl	(%r15), %r14d
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.5:
	xorl	%r13d, %r13d
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rax
	incl	%r13d
	cmpl	%r13d, %r14d
	jne	LBB0_6
	jmp	LBB0_8
LBB0_13:
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_device_printf                  ## TAILCALL
LBB0_4:
	xorl	%r14d, %r14d
	movq	%r12, %rax
LBB0_8:
	movb	$0, (%rax)
	movl	%r14d, %r13d
LBB0_9:
	movq	_M_XENBUS@GOTPCREL(%rip), %r14
	cmpb	$0, (%r12)
	je	LBB0_12
## %bb.10:
	movl	(%r15), %eax
	decl	%eax
	cmpl	%eax, %r13d
	jl	LBB0_12
## %bb.11:
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_xenbusb_add_device
	movq	_taskqueue_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %r15
	movq	%r15, %rsi
	callq	_taskqueue_enqueue
LBB0_12:
	movl	(%r14), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XS_WATCH_PATH,4,2              ## @XS_WATCH_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xenbusb_devices_changed: Short Event Data.\n"

	.comm	_M_XENBUS,4,2                   ## @M_XENBUS
	.comm	_taskqueue_thread,4,2           ## @taskqueue_thread
	.no_dead_strip	_xenbusb_devices_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenbusb_devices_changed
_xenbusb_devices_changed:               ; @xenbusb_devices_changed
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _XS_WATCH_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XS_WATCH_PATH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.hs	LBB0_7
; %bb.1:
	ldr	x0, [x1, x8, lsl #3]
Lloh3:
	adrp	x23, _M_XENBUS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _M_XENBUS@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_strdup
	mov	x19, x0
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.2:
	mov	x20, x0
	strb	wzr, [x20], #1
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.3:
	mov	x21, x0
	strb	wzr, [x21], #1
	ldr	w24, [x22]
	cmp	w24, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w25, #0
	mov	x0, x21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x0, #1
	add	w25, w25, #1
	cmp	w24, w25
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:
	ldr	w0, [x22, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_device_printf
LBB0_8:
	mov	w24, #0
	mov	x0, x21
LBB0_9:
	strb	wzr, [x0]
	mov	x25, x24
LBB0_10:
	ldrb	w8, [x21]
	cbz	w8, LBB0_13
; %bb.11:
	ldr	w8, [x22]
	sub	w8, w8, #1
	cmp	w25, w8
	b.lt	LBB0_13
; %bb.12:
	ldr	w0, [x22, #8]
	mov	x1, x20
	mov	x2, x21
	bl	_xenbusb_add_device
Lloh7:
	adrp	x8, _taskqueue_thread@GOTPAGE
Lloh8:
	ldr	x8, [x8, _taskqueue_thread@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, x22, #4
	bl	_taskqueue_enqueue
LBB0_13:
	ldr	w1, [x23]
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_XS_WATCH_PATH,4,2              ; @XS_WATCH_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xenbusb_devices_changed: Short Event Data.\n"

	.comm	_M_XENBUS,4,2                   ; @M_XENBUS
	.comm	_taskqueue_thread,4,2           ; @taskqueue_thread
	.no_dead_strip	_xenbusb_devices_changed
.subsections_via_symbols
