	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_dummy_file_error
_create_dummy_file_error:               ## @create_dummy_file_error
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rcx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -88(%rbp)
	movq	_APR_FOPEN_CREATE@GOTPCREL(%rip), %rax
	movq	_APR_FOPEN_TRUNCATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movups	L___const.create_dummy_file_error.template+13(%rip), %xmm0
	movq	_APR_FOPEN_DELONCLOSE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movups	%xmm0, -67(%rbp)
	movq	_APR_FOPEN_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movaps	L___const.create_dummy_file_error.template(%rip), %xmm0
	movq	_APR_FOPEN_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movaps	%xmm0, -80(%rbp)
	movq	_APR_FOPEN_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	callq	_apr_file_mktemp
	movq	%rax, %r15
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_ABTS_INT_EQUAL
	cmpq	(%r13), %r15
	jne	LBB0_4
## %bb.1:
	movq	(%r12), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_apr_file_puts
	movq	(%r13), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_ABTS_INT_EQUAL
	movl	$5000, %ebx                     ## imm = 0x1388
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_apr_file_puts
	movq	(%r13), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_ABTS_INT_EQUAL
	decl	%ebx
	jne	LBB0_2
## %bb.3:
	movq	(%r12), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_apr_file_puts
	movq	(%r13), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_ABTS_INT_EQUAL
	movq	(%r12), %rdi
	movq	_APR_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	callq	_apr_file_seek
	movq	%rax, %r15
	movq	(%r13), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_ABTS_INT_EQUAL
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.create_dummy_file_error.template
L___const.create_dummy_file_error.template:
	.asciz	"data/testxmldummyerrorXXXXXX"

	.comm	_APR_FOPEN_CREATE,4,2           ## @APR_FOPEN_CREATE
	.comm	_APR_FOPEN_TRUNCATE,4,2         ## @APR_FOPEN_TRUNCATE
	.comm	_APR_FOPEN_DELONCLOSE,4,2       ## @APR_FOPEN_DELONCLOSE
	.comm	_APR_FOPEN_READ,4,2             ## @APR_FOPEN_READ
	.comm	_APR_FOPEN_WRITE,4,2            ## @APR_FOPEN_WRITE
	.comm	_APR_FOPEN_EXCL,4,2             ## @APR_FOPEN_EXCL
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
L_.str:                                 ## @.str
	.asciz	"<?xml version=\"1.0\" ?>\n<maryx><had a=\"little\"/><lamb/>\n"

L_.str.1:                               ## @.str.1
	.asciz	"<hmm roast=\"lamb\" for=\"dinner\">yummy</hmm>\n"

L_.str.2:                               ## @.str.2
	.asciz	"</mary>\n"

	.comm	_APR_SET,4,2                    ## @APR_SET
	.no_dead_strip	_create_dummy_file_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_dummy_file_error
_create_dummy_file_error:               ; @create_dummy_file_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x3, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, l___const.create_dummy_file_error.template@PAGE
Lloh4:
	add	x8, x8, l___const.create_dummy_file_error.template@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldur	q0, [x8, #13]
	stur	q0, [sp, #29]
Lloh5:
	adrp	x8, _APR_FOPEN_CREATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _APR_FOPEN_CREATE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _APR_FOPEN_TRUNCATE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _APR_FOPEN_TRUNCATE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _APR_FOPEN_DELONCLOSE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _APR_FOPEN_DELONCLOSE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _APR_FOPEN_READ@GOTPAGE
Lloh15:
	ldr	x9, [x9, _APR_FOPEN_READ@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _APR_FOPEN_WRITE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _APR_FOPEN_WRITE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _APR_FOPEN_EXCL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _APR_FOPEN_EXCL@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w8, w9
	add	x1, sp, #16
	mov	x0, x20
	bl	_apr_file_mktemp
	mov	x21, x0
Lloh23:
	adrp	x22, _APR_SUCCESS@GOTPAGE
Lloh24:
	ldr	x22, [x22, _APR_SUCCESS@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_ABTS_INT_EQUAL
	ldr	x8, [x22]
	cmp	x21, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	x1, [x20]
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	bl	_apr_file_puts
	mov	x2, x0
	ldr	x1, [x22]
	mov	x0, x19
	bl	_ABTS_INT_EQUAL
	mov	w23, #5000
Lloh27:
	adrp	x21, l_.str.1@PAGE
Lloh28:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20]
	mov	x0, x21
	bl	_apr_file_puts
	mov	x2, x0
	ldr	x1, [x22]
	mov	x0, x19
	bl	_ABTS_INT_EQUAL
	subs	w23, w23, #1
	b.ne	LBB0_2
; %bb.3:
	ldr	x1, [x20]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_apr_file_puts
	mov	x2, x0
	ldr	x1, [x22]
	mov	x0, x19
	bl	_ABTS_INT_EQUAL
	ldr	x0, [x20]
Lloh31:
	adrp	x8, _APR_SET@GOTPAGE
Lloh32:
	ldr	x8, [x8, _APR_SET@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_apr_file_seek
	mov	x21, x0
	ldr	x1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_ABTS_INT_EQUAL
LBB0_4:
	ldr	x8, [sp, #56]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.create_dummy_file_error.template: ; @__const.create_dummy_file_error.template
	.asciz	"data/testxmldummyerrorXXXXXX"

	.comm	_APR_FOPEN_CREATE,4,2           ; @APR_FOPEN_CREATE
	.comm	_APR_FOPEN_TRUNCATE,4,2         ; @APR_FOPEN_TRUNCATE
	.comm	_APR_FOPEN_DELONCLOSE,4,2       ; @APR_FOPEN_DELONCLOSE
	.comm	_APR_FOPEN_READ,4,2             ; @APR_FOPEN_READ
	.comm	_APR_FOPEN_WRITE,4,2            ; @APR_FOPEN_WRITE
	.comm	_APR_FOPEN_EXCL,4,2             ; @APR_FOPEN_EXCL
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
l_.str:                                 ; @.str
	.asciz	"<?xml version=\"1.0\" ?>\n<maryx><had a=\"little\"/><lamb/>\n"

l_.str.1:                               ; @.str.1
	.asciz	"<hmm roast=\"lamb\" for=\"dinner\">yummy</hmm>\n"

l_.str.2:                               ; @.str.2
	.asciz	"</mary>\n"

	.comm	_APR_SET,4,2                    ; @APR_SET
	.no_dead_strip	_create_dummy_file_error
.subsections_via_symbols
