	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_strmode          ## -- Begin function archive_entry_strmode
	.p2align	4, 0x90
_archive_entry_strmode:                 ## @archive_entry_strmode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_entry_mode
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_archive_entry_filetype
	addl	$-128, %eax
	cmpl	$7, %eax
	jae	LBB0_1
## %bb.2:
	shll	$3, %eax
	movabsq	$27693830751661427, %rdx        ## imm = 0x626364706C2D73
	movl	%eax, %ecx
	shrq	%cl, %rdx
	jmp	LBB0_3
LBB0_1:
	movq	%r14, %rdi
	callq	_archive_entry_hardlink
	movb	$104, %dl
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movb	%dl, (%r15)
LBB0_4:
	testl	$256, %ebx                      ## imm = 0x100
	je	LBB0_5
## %bb.6:
	testb	$-128, %bl
	je	LBB0_7
LBB0_8:
	testb	$64, %bl
	je	LBB0_9
LBB0_10:
	testb	$32, %bl
	je	LBB0_11
LBB0_12:
	testb	$16, %bl
	je	LBB0_13
LBB0_14:
	testb	$8, %bl
	je	LBB0_15
LBB0_16:
	testb	$4, %bl
	je	LBB0_17
LBB0_18:
	testb	$2, %bl
	je	LBB0_19
LBB0_20:
	testb	$1, %bl
	jne	LBB0_22
LBB0_21:
	movb	$45, 9(%r15)
LBB0_22:
	movq	_S_ISUID@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_24
## %bb.23:
	movzbl	%bl, %eax
	shrl	$6, %eax
	shlb	$5, %al
	orb	$83, %al
	movb	%al, 3(%r15)
LBB0_24:
	movq	_S_ISGID@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_26
## %bb.25:
	movl	%ebx, %eax
	andb	$8, %al
	shlb	$2, %al
	orb	$83, %al
	movb	%al, 6(%r15)
LBB0_26:
	movq	_S_ISVTX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_28
## %bb.27:
	andb	$1, %bl
	shlb	$5, %bl
	orb	$84, %bl
	movb	%bl, 9(%r15)
LBB0_28:
	movq	%r14, %rdi
	callq	_archive_entry_acl_types
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movb	$43, 10(%r15)
LBB0_30:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movb	$45, 1(%r15)
	testb	$-128, %bl
	jne	LBB0_8
LBB0_7:
	movb	$45, 2(%r15)
	testb	$64, %bl
	jne	LBB0_10
LBB0_9:
	movb	$45, 3(%r15)
	testb	$32, %bl
	jne	LBB0_12
LBB0_11:
	movb	$45, 4(%r15)
	testb	$16, %bl
	jne	LBB0_14
LBB0_13:
	movb	$45, 5(%r15)
	testb	$8, %bl
	jne	LBB0_16
LBB0_15:
	movb	$45, 6(%r15)
	testb	$4, %bl
	jne	LBB0_18
LBB0_17:
	movb	$45, 7(%r15)
	testb	$2, %bl
	jne	LBB0_20
LBB0_19:
	movb	$45, 8(%r15)
	testb	$1, %bl
	je	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"?rwxrwxrwx "

	.comm	_S_ISUID,4,2                    ## @S_ISUID
	.comm	_S_ISGID,4,2                    ## @S_ISGID
	.comm	_S_ISVTX,4,2                    ## @S_ISVTX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_strmode          ; -- Begin function archive_entry_strmode
	.p2align	2
_archive_entry_strmode:                 ; @archive_entry_strmode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcpy
	mov	x0, x20
	bl	_archive_entry_mode
	mov	x21, x0
	mov	x0, x20
	bl	_archive_entry_filetype
	sub	w8, w0, #128
	cmp	w8, #7
	b.hs	LBB0_2
; %bb.1:
	lsl	x8, x8, #3
	mov	x9, #11635
	movk	x9, #28780, lsl #16
	movk	x9, #25444, lsl #32
	movk	x9, #98, lsl #48
	lsr	x8, x9, x8
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_archive_entry_hardlink
	cbz	x0, LBB0_5
; %bb.3:
	mov	w8, #104
LBB0_4:
	strb	w8, [x19]
LBB0_5:
	tbz	w21, #8, LBB0_24
; %bb.6:
	tbz	w21, #7, LBB0_25
LBB0_7:
	tbz	w21, #6, LBB0_26
LBB0_8:
	tbz	w21, #5, LBB0_27
LBB0_9:
	tbz	w21, #4, LBB0_28
LBB0_10:
	tbz	w21, #3, LBB0_29
LBB0_11:
	tbz	w21, #2, LBB0_30
LBB0_12:
	tbz	w21, #1, LBB0_31
LBB0_13:
	tbnz	w21, #0, LBB0_15
LBB0_14:
	mov	w8, #45
	strb	w8, [x19, #9]
LBB0_15:
Lloh2:
	adrp	x8, _S_ISUID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_ISUID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_17
; %bb.16:
	tst	w21, #0x40
	mov	w8, #115
	mov	w9, #83
	csel	w8, w9, w8, eq
	strb	w8, [x19, #3]
LBB0_17:
Lloh5:
	adrp	x8, _S_ISGID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _S_ISGID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_19
; %bb.18:
	tst	w21, #0x8
	mov	w8, #115
	mov	w9, #83
	csel	w8, w9, w8, eq
	strb	w8, [x19, #6]
LBB0_19:
Lloh8:
	adrp	x8, _S_ISVTX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_ISVTX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_21
; %bb.20:
	tst	w21, #0x1
	mov	w8, #116
	mov	w9, #84
	csel	w8, w9, w8, eq
	strb	w8, [x19, #9]
LBB0_21:
	mov	x0, x20
	bl	_archive_entry_acl_types
	cbz	x0, LBB0_23
; %bb.22:
	mov	w8, #43
	strb	w8, [x19, #10]
LBB0_23:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:
	mov	w8, #45
	strb	w8, [x19, #1]
	tbnz	w21, #7, LBB0_7
LBB0_25:
	mov	w8, #45
	strb	w8, [x19, #2]
	tbnz	w21, #6, LBB0_8
LBB0_26:
	mov	w8, #45
	strb	w8, [x19, #3]
	tbnz	w21, #5, LBB0_9
LBB0_27:
	mov	w8, #45
	strb	w8, [x19, #4]
	tbnz	w21, #4, LBB0_10
LBB0_28:
	mov	w8, #45
	strb	w8, [x19, #5]
	tbnz	w21, #3, LBB0_11
LBB0_29:
	mov	w8, #45
	strb	w8, [x19, #6]
	tbnz	w21, #2, LBB0_12
LBB0_30:
	mov	w8, #45
	strb	w8, [x19, #7]
	tbnz	w21, #1, LBB0_13
LBB0_31:
	mov	w8, #45
	strb	w8, [x19, #8]
	tbz	w21, #0, LBB0_14
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"?rwxrwxrwx "

	.comm	_S_ISUID,4,2                    ; @S_ISUID
	.comm	_S_ISGID,4,2                    ; @S_ISGID
	.comm	_S_ISVTX,4,2                    ; @S_ISVTX
.subsections_via_symbols
