	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_is_reg               ## -- Begin function assertion_is_reg
	.p2align	4, 0x90
_assertion_is_reg:                      ## @assertion_is_reg
	.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
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_assertion_count
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_lstat
	testl	%eax, %eax
	je	LBB0_1
LBB0_2:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rcx
	callq	_failure_start
LBB0_6:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_failure_finish
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-48(%rbp), %r13d
	movl	%r13d, %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%r14d, %eax
	movl	$1, %r14d
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	andl	$4095, %r13d                    ## imm = 0xFFF
	cmpl	%eax, %r13d
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %ebx
	movl	%r12d, %esi
	movq	%r15, %rcx
	callq	_failure_start
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_logprintf
	leaq	L_.str.3(%rip), %rdi
	movl	%r13d, %esi
	callq	_logprintf
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"File should exist: %s"

L_.str.1:                               ## @.str.1
	.asciz	"File %s has wrong mode"

L_.str.2:                               ## @.str.2
	.asciz	"  Expected: 0%3o\n"

L_.str.3:                               ## @.str.3
	.asciz	"  Found: 0%3o\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_is_reg               ; -- Begin function assertion_is_reg
	.p2align	2
_assertion_is_reg:                      ; @assertion_is_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_assertion_count
	add	x1, sp, #8
	mov	x0, x20
	bl	_lstat
	cbz	w0, LBB0_4
LBB0_1:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_failure_start
LBB0_2:
	mov	x0, #0
	bl	_failure_finish
	mov	w0, #0
LBB0_3:
	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
	add	sp, sp, #80
	ret
LBB0_4:
	ldr	w23, [sp, #8]
	mov	x0, x23
	bl	_S_ISREG
	cbz	w0, LBB0_1
; %bb.5:
	tbnz	w19, #31, LBB0_7
; %bb.6:
	and	w23, w23, #0xfff
	cmp	w23, w19
	b.ne	LBB0_8
LBB0_7:
	mov	w0, #1
	b	LBB0_3
LBB0_8:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_failure_start
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_logprintf
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x23
	bl	_logprintf
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"File should exist: %s"

l_.str.1:                               ; @.str.1
	.asciz	"File %s has wrong mode"

l_.str.2:                               ; @.str.2
	.asciz	"  Expected: 0%3o\n"

l_.str.3:                               ; @.str.3
	.asciz	"  Found: 0%3o\n"

.subsections_via_symbols
