	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_errmsg                     ## -- Begin function bfd_errmsg
	.p2align	4, 0x90
_bfd_errmsg:                            ## @bfd_errmsg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_bfd_error_on_input@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_input_error@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_bfd_errmsg
	movq	%rax, %r14
	movq	_bfd_errmsgs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	callq	__
	movq	_input_bfd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	leaq	-24(%rbp), %rdi
	movq	%rax, %rsi
	movq	%r14, %rcx
	callq	_asprintf
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movq	-24(%rbp), %r14
LBB0_3:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_bfd_error_system_call@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xstrerror                      ## TAILCALL
LBB0_6:
	movq	_bfd_error_invalid_error_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
	movq	_bfd_errmsgs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__                              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_error_on_input,8,3         ## @bfd_error_on_input
	.comm	_input_error,8,3                ## @input_error
	.comm	_bfd_errmsgs,8,3                ## @bfd_errmsgs
	.comm	_input_bfd,8,3                  ## @input_bfd
	.comm	_bfd_error_system_call,8,3      ## @bfd_error_system_call
	.comm	_bfd_error_invalid_error_code,8,3 ## @bfd_error_invalid_error_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_errmsg                     ; -- Begin function bfd_errmsg
	.p2align	2
_bfd_errmsg:                            ; @bfd_errmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _bfd_error_on_input@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_error_on_input@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _input_error@GOTPAGE
Lloh4:
	ldr	x8, [x8, _input_error@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	bl	_bfd_errmsg
	mov	x20, x0
Lloh6:
	adrp	x8, _bfd_errmsgs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_errmsgs@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w0, [x8, x19, lsl #2]
	bl	__
	mov	x1, x0
Lloh9:
	adrp	x8, _input_bfd@GOTPAGE
Lloh10:
	ldr	x8, [x8, _input_bfd@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x3, x20
	bl	_asprintf
	ldr	x8, [sp, #8]
	cmn	w0, #1
	csel	x0, x20, x8, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh12:
	adrp	x8, _bfd_error_system_call@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bfd_error_system_call@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_xstrerror
LBB0_4:
Lloh18:
	adrp	x8, _bfd_error_invalid_error_code@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bfd_error_invalid_error_code@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, x19
	csel	x8, x8, x19, lo
Lloh21:
	adrp	x9, _bfd_errmsgs@GOTPAGE
Lloh22:
	ldr	x9, [x9, _bfd_errmsgs@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	w0, [x9, x8, lsl #2]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	__
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_error_on_input,8,3         ; @bfd_error_on_input
	.comm	_input_error,8,3                ; @input_error
	.comm	_bfd_errmsgs,8,3                ; @bfd_errmsgs
	.comm	_input_bfd,8,3                  ; @input_bfd
	.comm	_bfd_error_system_call,8,3      ; @bfd_error_system_call
	.comm	_bfd_error_invalid_error_code,8,3 ; @bfd_error_invalid_error_code
.subsections_via_symbols
