	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function closest_target_match
_closest_target_match:                  ## @closest_target_match
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_command_line@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENDIAN_BIG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movq	_BFD_ENDIAN_BIG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
LBB0_2:
	movq	_ENDIAN_LITTLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movq	_BFD_ENDIAN_LITTLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_4:
	movq	8(%rbx), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_8
## %bb.5:
	movq	_winner@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.6:
	movl	16(%rbx), %edi
	movl	16(%r14), %esi
	callq	_name_compare
	movq	%rax, %r15
	movq	(%r12), %rax
	movl	16(%rax), %edi
	movl	16(%r14), %esi
	callq	_name_compare
	cmpq	%rax, %r15
	jle	LBB0_8
LBB0_7:
	movq	%rbx, (%r12)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_command_line,8,3               ## @command_line
	.comm	_ENDIAN_BIG,8,3                 ## @ENDIAN_BIG
	.comm	_BFD_ENDIAN_BIG,8,3             ## @BFD_ENDIAN_BIG
	.comm	_ENDIAN_LITTLE,8,3              ## @ENDIAN_LITTLE
	.comm	_BFD_ENDIAN_LITTLE,8,3          ## @BFD_ENDIAN_LITTLE
	.comm	_winner,8,3                     ## @winner
	.no_dead_strip	_closest_target_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function closest_target_match
_closest_target_match:                  ; @closest_target_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _command_line@GOTPAGE
Lloh1:
	ldr	x8, [x8, _command_line@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ENDIAN_BIG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENDIAN_BIG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x19]
Lloh6:
	adrp	x10, _BFD_ENDIAN_BIG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BFD_ENDIAN_BIG@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
LBB0_2:
Lloh9:
	adrp	x9, _ENDIAN_LITTLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENDIAN_LITTLE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _BFD_ENDIAN_LITTLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BFD_ENDIAN_LITTLE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
Lloh15:
	adrp	x22, _winner@GOTPAGE
Lloh16:
	ldr	x22, [x22, _winner@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x19, #16]
	ldr	w1, [x20, #16]
	bl	_name_compare
	mov	x21, x0
	ldr	x8, [x22]
	ldr	w0, [x8, #16]
	ldr	w1, [x20, #16]
	bl	_name_compare
	cmp	x21, x0
	b.le	LBB0_8
LBB0_7:
	str	x19, [x22]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_command_line,8,3               ; @command_line
	.comm	_ENDIAN_BIG,8,3                 ; @ENDIAN_BIG
	.comm	_BFD_ENDIAN_BIG,8,3             ; @BFD_ENDIAN_BIG
	.comm	_ENDIAN_LITTLE,8,3              ; @ENDIAN_LITTLE
	.comm	_BFD_ENDIAN_LITTLE,8,3          ; @BFD_ENDIAN_LITTLE
	.comm	_winner,8,3                     ; @winner
	.no_dead_strip	_closest_target_match
.subsections_via_symbols
