	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_make_file            ## -- Begin function assertion_make_file
	.p2align	4, 0x90
_assertion_make_file:                   ## @assertion_make_file
	.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, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_assertion_count
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_WRONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	testl	%ebx, %ebx
	movl	$420, %edx                      ## imm = 0x1A4
	cmovnsl	%ebx, %edx
	movq	%r13, %rdi
	callq	_open
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_chmod
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	callq	_failure_start
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_failure_finish
	movl	%r12d, %edi
	callq	_close
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	callq	_failure_start
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_failure_finish
	jmp	LBB0_12
LBB0_5:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.6:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	%rsi, %rdi
	callq	_strlen
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_9:
	movl	%r12d, %edi
	movq	%rax, %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_write
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_10
LBB0_11:
	movl	%r12d, %edi
	callq	_close
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_assertion_file_mode
	movl	$1, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%r12d, %edi
	callq	_close
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not create %s"

L_.str.1:                               ## @.str.1
	.asciz	"Could not chmod %s"

L_.str.2:                               ## @.str.2
	.asciz	"Could not write to %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_make_file            ; -- Begin function assertion_make_file
	.p2align	2
_assertion_make_file:                   ; @assertion_make_file
	.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	x24, x5
	mov	x25, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_assertion_count
Lloh0:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w8, #420
	cmp	w23, #0
	csel	w2, w23, w8, ge
	mov	x0, x19
	bl	_open
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x23
	bl	_chmod
	cbz	x0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	x0, x22
	bl	_close
	mov	w0, #0
	b	LBB0_11
LBB0_4:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	mov	w0, #0
	b	LBB0_11
LBB0_5:
	cbz	x24, LBB0_10
; %bb.6:
	tbnz	w25, #31, LBB0_8
; %bb.7:
	mov	w25, w25
	b	LBB0_9
LBB0_8:
	mov	x0, x24
	bl	_strlen
	mov	x25, x0
LBB0_9:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_write
	cmp	x25, x0
	b.ne	LBB0_12
LBB0_10:
	mov	x0, x22
	bl	_close
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	bl	_assertion_file_mode
	mov	w0, #1
LBB0_11:
	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
LBB0_12:
	mov	x0, x22
	bl	_close
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not create %s"

l_.str.1:                               ; @.str.1
	.asciz	"Could not chmod %s"

l_.str.2:                               ; @.str.2
	.asciz	"Could not write to %s"

.subsections_via_symbols
