	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_sprintf                 ## -- Begin function dtrace_sprintf
	.p2align	4, 0x90
_dtrace_sprintf:                        ## @dtrace_sprintf
	.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
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_dtrace_getopt
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$0, 8(%rbx)
	sete	%dil
	callq	_assert
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free
LBB0_2:
	movl	-44(%rbp), %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	-44(%rbp), %esi
	movq	%rax, %rdi
	callq	_bzero
	movl	-44(%rbp), %eax
	movl	%eax, 8(%rbx)
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	%r15d, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	$0
	pushq	$0
	pushq	16(%rbp)
	callq	_dt_printf_format
	addq	$32, %rsp
	movl	$0, 8(%rbx)
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	callq	_free
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EDT_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dt_set_errno
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strsize"

	.comm	_EDT_NOMEM,4,2                  ## @EDT_NOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_sprintf                 ; -- Begin function dtrace_sprintf
	.p2align	2
_dtrace_sprintf:                        ; @dtrace_sprintf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_dtrace_getopt
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
LBB0_2:
	ldr	w0, [sp, #12]
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w1, [sp, #12]
	bl	_bzero
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
	str	wzr, [sp]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	mov	x7, #0
	bl	_dt_printf_format
	str	wzr, [x19, #8]
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	x0, [x19]
	bl	_free
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _EDT_NOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EDT_NOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_set_errno
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strsize"

	.comm	_EDT_NOMEM,4,2                  ; @EDT_NOMEM
.subsections_via_symbols
