	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenbus_dev_verror              ## -- Begin function xenbus_dev_verror
	.p2align	4, 0x90
_xenbus_dev_verror:                     ## @xenbus_dev_verror
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movl	%edi, %r14d
	movq	_M_XENBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4096, %r15d                    ## imm = 0x1000
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_malloc
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r13d, %edx
	callq	_sprintf
	movl	%eax, %ebx
	movl	%eax, %edi
	addq	%r12, %rdi
	subl	%eax, %r15d
	movl	%r15d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_vsnprintf
	addl	%ebx, %eax
	xorl	%edi, %edi
	cmpl	$4096, %eax                     ## imm = 0x1000
	setb	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movq	%r12, %rdx
	callq	_device_printf
	movl	%r14d, %edi
	callq	_error_path
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_XST_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	_xs_write
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movl	%r14d, %edi
	callq	_xenbus_get_node
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_printf
LBB0_3:
	testq	%r12, %r12
	movq	_M_XENBUS@GOTPCREL(%rip), %rbx
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_free
LBB0_5:
	testq	%r15, %r15
	je	LBB0_6
## %bb.7:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_XENBUS,4,2                   ## @M_XENBUS
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i "

L_.str.1:                               ## @.str.1
	.asciz	"xenbus error message too big"

L_.str.2:                               ## @.str.2
	.asciz	"Error %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"xenbus: failed to write error node for %s (%s)\n"

	.comm	_XST_NIL,4,2                    ## @XST_NIL
L_.str.4:                               ## @.str.4
	.asciz	"error"

	.comm	_PRINTF_BUFFER_SIZE,4,2         ## @PRINTF_BUFFER_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenbus_dev_verror              ; -- Begin function xenbus_dev_verror
	.p2align	2
_xenbus_dev_verror:                     ; @xenbus_dev_verror
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _M_XENBUS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_XENBUS@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w25, #4096
	mov	w0, #4096
	bl	_malloc
	mov	x19, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_sprintf
	mov	x23, x0
	add	x0, x19, w0, uxtw
	sub	w1, w25, w23
	mov	x2, x22
	mov	x3, x21
	bl	_vsnprintf
	add	w8, w0, w23
	cmp	w8, #1, lsl #12                 ; =4096
	cset	w0, lo
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_device_printf
	mov	x0, x20
	bl	_error_path
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _XST_NIL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XST_NIL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x21
	mov	x3, x19
	bl	_xs_write
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_xenbus_get_node
	mov	x1, x0
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_printf
LBB0_3:
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_free
LBB0_5:
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w1, [x24]
	mov	x0, x21
	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
LBB0_7:
	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
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_M_XENBUS,4,2                   ; @M_XENBUS
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i "

l_.str.1:                               ; @.str.1
	.asciz	"xenbus error message too big"

l_.str.2:                               ; @.str.2
	.asciz	"Error %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"xenbus: failed to write error node for %s (%s)\n"

	.comm	_XST_NIL,4,2                    ; @XST_NIL
l_.str.4:                               ; @.str.4
	.asciz	"error"

	.comm	_PRINTF_BUFFER_SIZE,4,2         ; @PRINTF_BUFFER_SIZE
.subsections_via_symbols
