	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_output_file_create             ## -- Begin function output_file_create
	.p2align	4, 0x90
_output_file_create:                    ## @output_file_create
	.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, %rbx
	cmpb	$45, (%rdi)
	jne	LBB0_4
## %bb.1:
	cmpb	$0, 1(%rbx)
	je	LBB0_2
LBB0_4:
	movq	_TARGET_FORMAT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bfd_openw
	movq	_stdoutput@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	%rax, %r14
	movq	_bfd_error_invalid_target@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movslq	(%r15), %rsi
	movl	%eax, %edi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
LBB0_3:
	xorl	%eax, %eax
	callq	_as_fatal
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_bfd_errmsg
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_as_fatal
LBB0_8:
	movq	_stdoutput@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_set_format
	movq	(%rbx), %rdi
	movq	_TARGET_ARCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TARGET_MACH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bfd_set_arch_mach
	movq	_flag_traditional_format@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_BFD_TRADITIONAL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	orl	%eax, (%rcx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't open a bfd on stdout %s"

	.comm	_TARGET_FORMAT,4,2              ## @TARGET_FORMAT
	.comm	_stdoutput,8,3                  ## @stdoutput
	.comm	_bfd_error_invalid_target,8,3   ## @bfd_error_invalid_target
L_.str.1:                               ## @.str.1
	.asciz	"selected target format '%s' unknown"

L_.str.2:                               ## @.str.2
	.asciz	"can't create %s: %s"

	.comm	_bfd_object,4,2                 ## @bfd_object
	.comm	_TARGET_ARCH,4,2                ## @TARGET_ARCH
	.comm	_TARGET_MACH,4,2                ## @TARGET_MACH
	.comm	_flag_traditional_format,8,3    ## @flag_traditional_format
	.comm	_BFD_TRADITIONAL_FORMAT,4,2     ## @BFD_TRADITIONAL_FORMAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_output_file_create             ; -- Begin function output_file_create
	.p2align	2
_output_file_create:                    ; @output_file_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldrb	w8, [x0]
Lloh0:
	adrp	x22, _stdoutput@GOTPAGE
Lloh1:
	ldr	x22, [x22, _stdoutput@GOTPAGEOFF]
	cmp	w8, #45
	b.ne	LBB0_2
; %bb.1:
	ldrb	w8, [x19, #1]
	cbz	w8, LBB0_5
LBB0_2:
Lloh2:
	adrp	x21, _TARGET_FORMAT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TARGET_FORMAT@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_bfd_openw
	str	x0, [x22]
	cbnz	x0, LBB0_9
; %bb.3:
	bl	_bfd_get_error
Lloh4:
	adrp	x8, _bfd_error_invalid_target@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bfd_error_invalid_target@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldrsw	x1, [x21]
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	b	LBB0_7
LBB0_6:
	mov	x20, x0
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x21, x0
	mov	x0, x20
	bl	_bfd_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
LBB0_7:
	mov	x1, x19
LBB0_8:
	bl	_as_fatal
LBB0_9:
	ldr	x0, [x22]
Lloh13:
	adrp	x8, _bfd_object@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_bfd_set_format
	ldr	x0, [x22]
Lloh16:
	adrp	x8, _TARGET_ARCH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TARGET_ARCH@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _TARGET_MACH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TARGET_MACH@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	bl	_bfd_set_arch_mach
Lloh22:
	adrp	x8, _flag_traditional_format@GOTPAGE
Lloh23:
	ldr	x8, [x8, _flag_traditional_format@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh25:
	adrp	x8, _BFD_TRADITIONAL_FORMAT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BFD_TRADITIONAL_FORMAT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	x9, [x22]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't open a bfd on stdout %s"

	.comm	_TARGET_FORMAT,4,2              ; @TARGET_FORMAT
	.comm	_stdoutput,8,3                  ; @stdoutput
	.comm	_bfd_error_invalid_target,8,3   ; @bfd_error_invalid_target
l_.str.1:                               ; @.str.1
	.asciz	"selected target format '%s' unknown"

l_.str.2:                               ; @.str.2
	.asciz	"can't create %s: %s"

	.comm	_bfd_object,4,2                 ; @bfd_object
	.comm	_TARGET_ARCH,4,2                ; @TARGET_ARCH
	.comm	_TARGET_MACH,4,2                ; @TARGET_MACH
	.comm	_flag_traditional_format,8,3    ; @flag_traditional_format
	.comm	_BFD_TRADITIONAL_FORMAT,4,2     ; @BFD_TRADITIONAL_FORMAT
.subsections_via_symbols
