	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mode_native_to_git
_mode_native_to_git:                    ## @mode_native_to_git
	.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, %r14d
	movl	%edi, %ebx
	andl	$4095, %ebx                     ## imm = 0xFFF
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	orl	$32768, %ebx                    ## imm = 0x8000
	jmp	LBB0_13
LBB0_2:
	movl	%r14d, %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	orl	$16384, %ebx                    ## imm = 0x4000
	jmp	LBB0_13
LBB0_4:
	movl	%r14d, %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	orl	$40960, %ebx                    ## imm = 0xA000
	jmp	LBB0_13
LBB0_6:
	movl	%r14d, %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	orl	$24576, %ebx                    ## imm = 0x6000
	jmp	LBB0_13
LBB0_8:
	movl	%r14d, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	orl	$8192, %ebx                     ## imm = 0x2000
	jmp	LBB0_13
LBB0_10:
	movl	%r14d, %edi
	callq	_S_ISFIFO
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	orl	$4096, %ebx                     ## imm = 0x1000
	jmp	LBB0_13
LBB0_12:
	movl	%r14d, %edi
	callq	_S_ISSOCK
	leal	49152(%rbx), %ecx
	testq	%rax, %rax
	cmovel	%ebx, %ecx
	movl	%ecx, %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mode_native_to_git
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mode_native_to_git
_mode_native_to_git:                    ; @mode_native_to_git
	.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
	and	w20, w0, #0xfff
	bl	_S_ISREG
	cbz	x0, LBB0_2
; %bb.1:
	orr	w0, w20, #0x8000
	b	LBB0_13
LBB0_2:
	mov	x0, x19
	bl	_S_ISDIR
	cbz	x0, LBB0_4
; %bb.3:
	orr	w0, w20, #0x4000
	b	LBB0_13
LBB0_4:
	mov	x0, x19
	bl	_S_ISLNK
	cbz	x0, LBB0_6
; %bb.5:
	mov	w8, #40960
	orr	w0, w20, w8
	b	LBB0_13
LBB0_6:
	mov	x0, x19
	bl	_S_ISBLK
	cbz	x0, LBB0_8
; %bb.7:
	orr	w0, w20, #0x6000
	b	LBB0_13
LBB0_8:
	mov	x0, x19
	bl	_S_ISCHR
	cbz	x0, LBB0_10
; %bb.9:
	orr	w0, w20, #0x2000
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	bl	_S_ISFIFO
	cbz	x0, LBB0_12
; %bb.11:
	orr	w0, w20, #0x1000
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_S_ISSOCK
	orr	w8, w20, #0xc000
	cmp	x0, #0
	csel	w0, w20, w8, eq
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mode_native_to_git
.subsections_via_symbols
