	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_st_mode
_push_st_mode:                          ## @push_st_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
	movq	%rdi, %r14
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%rsi), %ebx
	movl	%ebx, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_13
LBB0_2:
	movl	%ebx, %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_13
LBB0_4:
	movl	%ebx, %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_13
LBB0_6:
	movl	%ebx, %edi
	callq	_S_ISSOCK
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_8:
	movl	%ebx, %edi
	callq	_S_ISFIFO
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_13
LBB0_10:
	movl	%ebx, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	movl	%ebx, %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rsi
	cmoveq	%rax, %rsi
LBB0_13:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lua_pushstring                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file"

L_.str.1:                               ## @.str.1
	.asciz	"directory"

L_.str.2:                               ## @.str.2
	.asciz	"link"

L_.str.3:                               ## @.str.3
	.asciz	"socket"

L_.str.4:                               ## @.str.4
	.asciz	"fifo"

L_.str.5:                               ## @.str.5
	.asciz	"char device"

L_.str.6:                               ## @.str.6
	.asciz	"block device"

L_.str.7:                               ## @.str.7
	.asciz	"other"

	.no_dead_strip	_push_st_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_st_mode
_push_st_mode:                          ; @push_st_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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w20, w9, w8
	mov	x0, x20
	bl	_S_ISREG
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_2:
	mov	x0, x20
	bl	_S_ISDIR
	cbz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_4:
	mov	x0, x20
	bl	_S_ISLNK
	cbz	x0, LBB0_6
; %bb.5:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_6:
	mov	x0, x20
	bl	_S_ISSOCK
	cbz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_8:
	mov	x0, x20
	bl	_S_ISFIFO
	cbz	x0, LBB0_10
; %bb.9:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_10:
	mov	x0, x20
	bl	_S_ISCHR
	cbz	x0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_12:
	mov	x0, x20
	bl	_S_ISBLK
Lloh15:
	adrp	x8, l_.str.6@PAGE
Lloh16:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh17:
	adrp	x9, l_.str.7@PAGE
Lloh18:
	add	x9, x9, l_.str.7@PAGEOFF
	cmp	x0, #0
	csel	x1, x9, x8, eq
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lua_pushstring
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

l_.str.1:                               ; @.str.1
	.asciz	"directory"

l_.str.2:                               ; @.str.2
	.asciz	"link"

l_.str.3:                               ; @.str.3
	.asciz	"socket"

l_.str.4:                               ; @.str.4
	.asciz	"fifo"

l_.str.5:                               ; @.str.5
	.asciz	"char device"

l_.str.6:                               ; @.str.6
	.asciz	"block device"

l_.str.7:                               ; @.str.7
	.asciz	"other"

	.no_dead_strip	_push_st_mode
.subsections_via_symbols
