	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_find_target                ## -- Begin function bfd_find_target
	.p2align	4, 0x90
_bfd_find_target:                       ## @bfd_find_target
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	testq	%r14, %r14
	je	LBB0_12
## %bb.8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%rbx, %rdi
	callq	_find_target
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, (%r14)
	jmp	LBB0_11
LBB0_3:
	movq	_bfd_default_vector@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_bfd_target_vector@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
LBB0_5:
	testq	%r14, %r14
	je	LBB0_11
## %bb.6:
	movq	%rax, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	jmp	LBB0_11
LBB0_12:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_find_target                    ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GNUTARGET"

L_.str.1:                               ## @.str.1
	.asciz	"default"

	.comm	_bfd_default_vector,8,3         ## @bfd_default_vector
	.comm	_bfd_target_vector,8,3          ## @bfd_target_vector
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_find_target                ; -- Begin function bfd_find_target
	.p2align	2
_bfd_find_target:                       ; @bfd_find_target
	.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
	mov	x19, x1
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x20, x0
	cbz	x0, LBB0_6
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.3:
	cbz	x19, LBB0_10
; %bb.4:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_find_target
	cbz	x0, LBB0_9
; %bb.5:
	str	x0, [x19]
	b	LBB0_9
LBB0_6:
Lloh7:
	adrp	x8, _bfd_default_vector@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bfd_default_vector@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_11
; %bb.7:
	cbz	x19, LBB0_9
LBB0_8:
	str	x0, [x19]
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_find_target
LBB0_11:
Lloh13:
	adrp	x8, _bfd_target_vector@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bfd_target_vector@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbnz	x19, LBB0_8
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GNUTARGET"

l_.str.1:                               ; @.str.1
	.asciz	"default"

	.comm	_bfd_default_vector,8,3         ; @bfd_default_vector
	.comm	_bfd_target_vector,8,3          ; @bfd_target_vector
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
