	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenbusb_back_localend_changed
_xenbusb_back_localend_changed:         ## @xenbusb_back_localend_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	callq	_xenbusb_localend_changed
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:
	movl	%r14d, %edi
	callq	_xenbus_get_state
	movq	_XenbusStateClosed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_xenbus_dev_is_online
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_XST_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_xenbus_get_node
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xs_rm                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/state"

L_.str.1:                               ## @.str.1
	.asciz	"/online"

	.comm	_XenbusStateClosed,8,3          ## @XenbusStateClosed
	.comm	_XST_NIL,4,2                    ## @XST_NIL
L_.str.2:                               ## @.str.2
	.asciz	"hotplug-status"

	.no_dead_strip	_xenbusb_back_localend_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenbusb_back_localend_changed
_xenbusb_back_localend_changed:         ; @xenbusb_back_localend_changed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	bl	_xenbusb_localend_changed
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_xenbus_get_state
Lloh4:
	adrp	x8, _XenbusStateClosed@GOTPAGE
Lloh5:
	ldr	x8, [x8, _XenbusStateClosed@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_xenbus_dev_is_online
	cbz	x0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh7:
	adrp	x8, _XST_NIL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XST_NIL@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_xenbus_get_node
	mov	x1, x0
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xs_rm
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/state"

l_.str.1:                               ; @.str.1
	.asciz	"/online"

	.comm	_XenbusStateClosed,8,3          ; @XenbusStateClosed
	.comm	_XST_NIL,4,2                    ; @XST_NIL
l_.str.2:                               ; @.str.2
	.asciz	"hotplug-status"

	.no_dead_strip	_xenbusb_back_localend_changed
.subsections_via_symbols
