	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lang_add_output_format         ## -- Begin function lang_add_output_format
	.p2align	4, 0x90
_lang_add_output_format:                ## @lang_add_output_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_output_target@GOTPCREL(%rip), %r8
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r8)
	je	LBB0_2
## %bb.6:
	popq	%rbp
	retq
LBB0_2:
	movq	_command_line@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	_ENDIAN_BIG@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_5
LBB0_4:
	movq	_ENDIAN_LITTLE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	movq	%rdi, %rsi
	cmoveq	%rdx, %rsi
	testq	%rdx, %rdx
	cmoveq	%rdi, %rsi
LBB0_5:
	movq	%rsi, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_output_target,8,3              ## @output_target
	.comm	_command_line,8,3               ## @command_line
	.comm	_ENDIAN_BIG,8,3                 ## @ENDIAN_BIG
	.comm	_ENDIAN_LITTLE,8,3              ## @ENDIAN_LITTLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lang_add_output_format         ; -- Begin function lang_add_output_format
	.p2align	2
_lang_add_output_format:                ; @lang_add_output_format
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _output_target@GOTPAGE
Lloh1:
	ldr	x8, [x8, _output_target@GOTPAGEOFF]
	cbz	w3, LBB0_3
; %bb.1:
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.2:
	ret
LBB0_3:
Lloh2:
	adrp	x9, _command_line@GOTPAGE
Lloh3:
	ldr	x9, [x9, _command_line@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cbz	x1, LBB0_6
; %bb.4:
Lloh5:
	adrp	x10, _ENDIAN_BIG@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ENDIAN_BIG@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	str	x1, [x8]
	ret
LBB0_6:
Lloh8:
	adrp	x10, _ENDIAN_LITTLE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ENDIAN_LITTLE@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	x2, #0, #4, eq
	csel	x1, x2, x0, ne
	str	x1, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_output_target,8,3              ; @output_target
	.comm	_command_line,8,3               ; @command_line
	.comm	_ENDIAN_BIG,8,3                 ; @ENDIAN_BIG
	.comm	_ENDIAN_LITTLE,8,3              ; @ENDIAN_LITTLE
.subsections_via_symbols
