	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function canon_mode
_canon_mode:                            ## @canon_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_ce_permissions
	orl	%r14d, %eax
	jmp	LBB0_8
LBB0_2:
	movl	%ebx, %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_S_IFLNK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movl	%ebx, %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_S_IFDIR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_S_IFGITLINK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_S_IFLNK,4,2                    ## @S_IFLNK
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_S_IFGITLINK,4,2                ## @S_IFGITLINK
	.no_dead_strip	_canon_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function canon_mode
_canon_mode:                            ; @canon_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_S_ISREG
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _S_IFREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_ce_permissions
	orr	w0, w0, w20
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_S_ISLNK
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _S_IFLNK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_IFLNK@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_S_ISDIR
	cbz	x0, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _S_IFDIR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _S_IFDIR@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _S_IFGITLINK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _S_IFGITLINK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_S_IFLNK,4,2                    ; @S_IFLNK
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_S_IFGITLINK,4,2                ; @S_IFGITLINK
	.no_dead_strip	_canon_mode
.subsections_via_symbols
