	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_check_attr                 ## -- Begin function cmd_check_attr
	.p2align	4, 0x90
_cmd_check_attr:                        ## @cmd_check_attr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_is_bare_repository
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_setup_work_tree
LBB0_2:
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	movq	_check_attr_options@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_check_attr_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_PARSE_OPT_KEEP_DASHDASH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_parse_options
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_read_cache
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_4:
	movq	_cached_attrs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_GIT_ATTR_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_git_attr_set_direction
LBB0_6:
	testl	%ebx, %ebx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_40
## %bb.7:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r14d
	movl	$-1, %r15d
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testl	%eax, %eax
	movl	%ebx, %r15d
	cmovnel	%r12d, %r15d
	testl	%r15d, %r15d
	jns	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%r14, %rbx
	jb	LBB0_8
LBB0_10:
	movq	_all_attrs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.11:
	testl	%r15d, %r15d
	jle	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rdi
	callq	_error_with_usage
LBB0_13:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_40:
	movq	_all_attrs@GOTPCREL(%rip), %rax
	movl	$-1, %r15d
	cmpq	$0, (%rax)
	je	LBB0_18
LBB0_14:
	movl	%r15d, %r14d
	incl	%r14d
	xorl	%r15d, %r15d
LBB0_22:
	movq	_stdin_paths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_26
LBB0_24:
	cmpl	%ebx, %r14d
	jge	LBB0_29
## %bb.25:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_28
LBB0_15:
	testl	%r15d, %r15d
	je	LBB0_16
## %bb.17:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	js	LBB0_18
## %bb.21:
	leal	1(%r15), %r14d
	jmp	LBB0_22
LBB0_18:
	testl	%ebx, %ebx
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.3(%rip), %rdi
	callq	_error_with_usage
LBB0_20:
	movq	_stdin_paths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	movl	$1, %r15d
	cmovnel	%ebx, %r15d
	movl	%r15d, %r14d
	testq	%rax, %rax
	jne	LBB0_24
LBB0_26:
	cmpl	%ebx, %r14d
	jl	LBB0_29
## %bb.27:
	leaq	L_.str.5(%rip), %rdi
LBB0_28:
	callq	_error_with_usage
LBB0_29:
	xorl	%eax, %eax
	callq	_attr_check_alloc
	movq	%rax, %r13
	movq	_all_attrs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_34
## %bb.30:
	testl	%r15d, %r15d
	jle	LBB0_34
## %bb.31:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rdi
	callq	_git_attr
	testq	%rax, %rax
	je	LBB0_41
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_attr_check_append
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_32
LBB0_34:
	movq	_stdin_paths@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_35
## %bb.42:
	movq	_all_attrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_check_attr_stdin_paths
	jmp	LBB0_39
LBB0_35:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r14d
	movl	%r14d, %ecx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	_all_attrs@GOTPCREL(%rip), %r14
	jge	LBB0_38
## %bb.36:
	movslq	%ecx, %rbx
	cltq
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdx
	movq	(%r15,%rbx,8), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_check_attr
	incq	%rbx
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_37
LBB0_38:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_maybe_flush_or_die
LBB0_39:
	movq	%r13, %rdi
	callq	_attr_check_free
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rsi
	leaq	L_.str.6(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_16:
	leaq	L_.str.3(%rip), %rdi
	callq	_error_with_usage
                                        ## implicit-def: $r15d
                                        ## implicit-def: $r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_git_default_config,4,2         ## @git_default_config
	.comm	_check_attr_options,4,2         ## @check_attr_options
	.comm	_check_attr_usage,4,2           ## @check_attr_usage
	.comm	_PARSE_OPT_KEEP_DASHDASH,4,2    ## @PARSE_OPT_KEEP_DASHDASH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid cache"

	.comm	_cached_attrs,8,3               ## @cached_attrs
	.comm	_GIT_ATTR_INDEX,4,2             ## @GIT_ATTR_INDEX
L_.str.1:                               ## @.str.1
	.asciz	"--"

	.comm	_all_attrs,8,3                  ## @all_attrs
L_.str.2:                               ## @.str.2
	.asciz	"Attributes and --all both specified"

L_.str.3:                               ## @.str.3
	.asciz	"No attribute specified"

	.comm	_stdin_paths,8,3                ## @stdin_paths
L_.str.4:                               ## @.str.4
	.asciz	"Can't specify files with --stdin"

L_.str.5:                               ## @.str.5
	.asciz	"No file specified"

L_.str.6:                               ## @.str.6
	.asciz	"%s: not a valid attribute name"

	.comm	_stdout,4,2                     ## @stdout
L_.str.7:                               ## @.str.7
	.asciz	"attribute to stdout"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_check_attr                 ; -- Begin function cmd_check_attr
	.p2align	2
_cmd_check_attr:                        ; @cmd_check_attr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_is_bare_repository
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_setup_work_tree
LBB0_2:
Lloh0:
	adrp	x8, _git_default_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
Lloh3:
	adrp	x8, _check_attr_options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _check_attr_options@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _check_attr_usage@GOTPAGE
Lloh7:
	ldr	x8, [x8, _check_attr_usage@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _PARSE_OPT_KEEP_DASHDASH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PARSE_OPT_KEEP_DASHDASH@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_parse_options
	mov	x21, x0
	bl	_read_cache
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_4:
Lloh14:
	adrp	x8, _cached_attrs@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cached_attrs@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _GIT_ATTR_INDEX@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GIT_ATTR_INDEX@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_git_attr_set_direction
LBB0_6:
Lloh20:
	adrp	x23, _all_attrs@GOTPAGE
Lloh21:
	ldr	x23, [x23, _all_attrs@GOTPAGEOFF]
	cmp	w21, #1
	b.lt	LBB0_13
; %bb.7:
	mov	x25, #0
	mov	w26, w21
	mov	w24, #-1
Lloh22:
	adrp	x22, l_.str.1@PAGE
Lloh23:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, x25, lsl #3]
	mov	x1, x22
	bl	_strcmp
	cmp	w0, #0
	csel	w24, w25, w24, eq
	tbz	w24, #31, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	cmp	x25, x26
	b.lo	LBB0_8
LBB0_10:
	ldr	x8, [x23]
	cbz	x8, LBB0_19
; %bb.11:
	cmp	w24, #1
	b.lt	LBB0_15
; %bb.12:
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error_with_usage
	b	LBB0_15
LBB0_13:
	ldr	x8, [x23]
	cbz	x8, LBB0_22
; %bb.14:
	mov	w24, #-1
LBB0_15:
	add	w25, w24, #1
	mov	w24, #0
LBB0_16:
Lloh26:
	adrp	x8, _stdin_paths@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stdin_paths@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cmp	w25, w21
	cbz	x8, LBB0_25
LBB0_17:
	b.ge	LBB0_28
; %bb.18:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_27
LBB0_19:
	cbz	w24, LBB0_41
; %bb.20:
	tbnz	w24, #31, LBB0_22
; %bb.21:
	add	w25, w24, #1
	b	LBB0_16
LBB0_22:
	cbnz	w21, LBB0_24
; %bb.23:
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error_with_usage
LBB0_24:
Lloh33:
	adrp	x8, _stdin_paths@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stdin_paths@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x8, #0
	csinc	w24, w21, wzr, ne
	mov	x25, x24
	cmp	w25, w21
	cbnz	x8, LBB0_17
LBB0_25:
	b.lt	LBB0_28
; %bb.26:
Lloh36:
	adrp	x0, l_.str.5@PAGE
Lloh37:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_27:
	bl	_error_with_usage
LBB0_28:
	bl	_attr_check_alloc
	mov	x22, x0
	ldr	x8, [x23]
	cbnz	x8, LBB0_33
; %bb.29:
	cmp	w24, #1
	b.lt	LBB0_33
; %bb.30:
	mov	w24, w24
	mov	x26, x20
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	bl	_git_attr
	cbz	x0, LBB0_40
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x1, x0
	mov	x0, x22
	bl	_attr_check_append
	add	x26, x26, #8
	subs	x24, x24, #1
	b.ne	LBB0_31
LBB0_33:
Lloh38:
	adrp	x8, _stdin_paths@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stdin_paths@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cbz	x8, LBB0_35
; %bb.34:
	ldr	x2, [x23]
	mov	x0, x19
	mov	x1, x22
	bl	_check_attr_stdin_paths
	b	LBB0_39
LBB0_35:
	cmp	w25, w21
	b.ge	LBB0_38
; %bb.36:
	sxtw	x8, w21
	add	x20, x20, w25, sxtw #3
	sub	x21, x8, w25, sxtw
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x23]
	ldr	x3, [x20], #8
	mov	x0, x19
	mov	x1, x22
	bl	_check_attr
	subs	x21, x21, #1
	b.ne	LBB0_37
LBB0_38:
Lloh41:
	adrp	x8, _stdout@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_maybe_flush_or_die
LBB0_39:
	mov	x0, x22
	bl	_attr_check_free
	mov	w0, #0
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_40:
	ldr	x1, [x26]
Lloh46:
	adrp	x0, l_.str.6@PAGE
Lloh47:
	add	x0, x0, l_.str.6@PAGEOFF
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_error
LBB0_41:
Lloh48:
	adrp	x0, l_.str.3@PAGE
Lloh49:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error_with_usage
                                        ; implicit-def: $w24
                                        ; implicit-def: $w25
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_git_default_config,4,2         ; @git_default_config
	.comm	_check_attr_options,4,2         ; @check_attr_options
	.comm	_check_attr_usage,4,2           ; @check_attr_usage
	.comm	_PARSE_OPT_KEEP_DASHDASH,4,2    ; @PARSE_OPT_KEEP_DASHDASH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid cache"

	.comm	_cached_attrs,8,3               ; @cached_attrs
	.comm	_GIT_ATTR_INDEX,4,2             ; @GIT_ATTR_INDEX
l_.str.1:                               ; @.str.1
	.asciz	"--"

	.comm	_all_attrs,8,3                  ; @all_attrs
l_.str.2:                               ; @.str.2
	.asciz	"Attributes and --all both specified"

l_.str.3:                               ; @.str.3
	.asciz	"No attribute specified"

	.comm	_stdin_paths,8,3                ; @stdin_paths
l_.str.4:                               ; @.str.4
	.asciz	"Can't specify files with --stdin"

l_.str.5:                               ; @.str.5
	.asciz	"No file specified"

l_.str.6:                               ; @.str.6
	.asciz	"%s: not a valid attribute name"

	.comm	_stdout,4,2                     ; @stdout
l_.str.7:                               ; @.str.7
	.asciz	"attribute to stdout"

.subsections_via_symbols
