	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_error_new                  ## -- Begin function atf_error_new
	.p2align	4, 0x90
_atf_error_new:                         ## @atf_error_new
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_error_on_flight@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_PRE
	testq	%r12, %r12
	setne	%al
	sete	%bl
	testq	%r15, %r15
	sete	%cl
	setne	%r14b
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_PRE
	orb	%bl, %r14b
	movzbl	%r14b, %edi
	callq	_PRE
	movl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_error_init
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	$1, (%rbx)
	movq	_error_on_flight@GOTPCREL(%rip), %r14
	movl	$1, (%r14)
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_free
LBB0_1:
	xorl	%eax, %eax
	callq	_atf_no_memory_error
	movq	%rax, %rbx
	movq	_error_on_flight@GOTPCREL(%rip), %r14
LBB0_5:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_INV
	movl	(%r14), %edi
	callq	_POST
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_error_on_flight,4,2            ## @error_on_flight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_error_new                  ; -- Begin function atf_error_new
	.p2align	2
_atf_error_new:                         ; @atf_error_new
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _error_on_flight@GOTPAGE
Lloh1:
	ldr	x24, [x24, _error_on_flight@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #0
	cset	w0, eq
	bl	_PRE
	cmp	x22, #0
	cset	w8, ne
	cset	w19, eq
	cmp	x21, #0
	cset	w9, eq
	orr	w0, w8, w9
	cset	w25, ne
	bl	_PRE
	orr	w0, w19, w25
	bl	_PRE
	mov	w0, #4
	bl	_malloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_error_init
	cbz	w0, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
	str	w8, [x24]
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_free
LBB0_4:
	bl	_atf_no_memory_error
	mov	x19, x0
LBB0_5:
	cmp	x19, #0
	cset	w0, ne
	bl	_INV
	ldr	w0, [x24]
	bl	_POST
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_error_on_flight,4,2            ; @error_on_flight
.subsections_via_symbols
