	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_write
_check_write:                           ## @check_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_given_config_source@GOTPCREL(%rip), %rbx
	cmpl	$0, 16(%rbx)
	jne	LBB0_3
## %bb.1:
	movq	_startup_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_5:
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_die                            ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_given_config_source,24,3       ## @given_config_source
	.comm	_startup_info,8,3               ## @startup_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not in a git directory"

L_.str.1:                               ## @.str.1
	.asciz	"writing to stdin is not supported"

L_.str.2:                               ## @.str.2
	.asciz	"writing config blobs is not supported"

	.no_dead_strip	_check_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_write
_check_write:                           ; @check_write
	.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
Lloh0:
	adrp	x19, _given_config_source@GOTPAGE
Lloh1:
	ldr	x19, [x19, _given_config_source@GOTPAGEOFF]
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _startup_info@GOTPAGE
Lloh3:
	ldr	x8, [x8, _startup_info@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_die
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_die
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_given_config_source,24,3       ; @given_config_source
	.comm	_startup_info,8,3               ; @startup_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not in a git directory"

l_.str.1:                               ; @.str.1
	.asciz	"writing to stdin is not supported"

l_.str.2:                               ; @.str.2
	.asciz	"writing config blobs is not supported"

	.no_dead_strip	_check_write
.subsections_via_symbols
