	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fmt_with_err
_fmt_with_err:                          ## @fmt_with_err
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movb	(%rax), %dl
	testb	%dl, %dl
	je	LBB0_1
## %bb.2:
	incq	%rax
	xorl	%edi, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %ecx
	incq	%rcx
	movb	%dl, -288(%rbp,%rdi)
	cmpb	$37, %dl
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$253, %esi
	ja	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$2, %esi
	movb	$37, -288(%rbp,%rcx)
	movl	%esi, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rax), %edx
	testb	%dl, %dl
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movl	%ecx, %edi
	movl	%ecx, %esi
	cmpl	$255, %ecx
	jb	LBB0_3
	jmp	LBB0_9
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_5:
	movl	%esi, %ecx
LBB0_9:
	movl	%ecx, %eax
	movb	$0, -288(%rbp,%rax)
	leaq	L_.str(%rip), %rdx
	leaq	-288(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rcx
	callq	_snprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s"

	.no_dead_strip	_fmt_with_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fmt_with_err
_fmt_with_err:                          ; @fmt_with_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_strerror
	ldrb	w12, [x0]
	cbz	w12, LBB0_7
; %bb.1:
	mov	x14, #0
	mov	w13, #0
	add	x8, x0, #1
	add	x9, sp, #8
	mov	w10, #37
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w11, w13
	add	x11, x11, #1
	strb	w12, [x9, x14]
	cmp	w12, #37
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w13, #253
	b.hi	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w10, [x9, x11]
	add	w11, w13, #2
                                        ; kill: def $w11 killed $w11 def $x11
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w12, [x8], #1
	cbz	w12, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w14, w11
	mov	x13, x11
	cmp	w11, #255
	b.lo	LBB0_2
	b	LBB0_9
LBB0_7:
	mov	w11, #0
	b	LBB0_9
LBB0_8:
	mov	x11, x13
LBB0_9:
	add	x8, sp, #8
	strb	wzr, [x8, w11, uxtw]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_snprintf
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s"

	.no_dead_strip	_fmt_with_err
.subsections_via_symbols
