	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_location                 ## -- Begin function check_location
	.p2align	4, 0x90
_check_location:                        ## @check_location
	.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
	callq	_assert
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.1:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	btl	$1, %esi
	adcl	$0, %eax
	andl	$1, %esi
	addl	%esi, %ecx
	movq	16(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.3:
	cmpl	$2, %eax
	jb	LBB0_9
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.5:
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testb	$2, (%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %edi
	movq	8(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_8
LBB0_9:
	cmpl	$1, %ecx
	je	LBB0_10
## %bb.11:
	testl	%ecx, %ecx
	jne	LBB0_13
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_19
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.14:
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	testb	$1, (%rbx)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r14), %edi
	movq	8(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_17
LBB0_18:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_19:
	movl	$1, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error: binlog %s has %d local locations:"

L_.str.1:                               ## @.str.1
	.asciz	" %s"

L_.str.2:                               ## @.str.2
	.asciz	"\n"

L_.str.3:                               ## @.str.3
	.asciz	"error: binlog %s has no master location\n"

L_.str.4:                               ## @.str.4
	.asciz	"error: binlog %s has %d master locations:"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_location                 ; -- Begin function check_location
	.p2align	2
_check_location:                        ; @check_location
	.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
	bl	_assert
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_11
; %bb.1:
	mov	w8, #0
	mov	w9, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	ubfx	w12, w11, #1, #1
	add	w9, w12, w9
	and	w11, w11, #0x1
	add	w8, w11, w8
	ldr	x10, [x10, #16]
	cbnz	x10, LBB0_2
; %bb.3:
	cmp	w9, #2
	b.lo	LBB0_9
; %bb.4:
Lloh0:
	adrp	x20, _stderr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_18
; %bb.5:
Lloh4:
	adrp	x19, l_.str.1@PAGE
Lloh5:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_18
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	tbz	w8, #1, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x20]
	ldr	x8, [x21, #8]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
	b	LBB0_6
LBB0_9:
	cmp	w8, #1
	b.eq	LBB0_12
; %bb.10:
	cbnz	w8, LBB0_13
LBB0_11:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_12:
	mov	w0, #0
	b	LBB0_20
LBB0_13:
Lloh11:
	adrp	x20, _stderr@GOTPAGE
Lloh12:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x9, [x19]
	stp	x9, x8, [sp]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_18
; %bb.14:
Lloh15:
	adrp	x19, l_.str.1@PAGE
Lloh16:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	tbz	w8, #0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x20]
	ldr	x8, [x21, #8]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
	b	LBB0_15
LBB0_18:
	ldr	w0, [x20]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_19:
	bl	_fprintf
	mov	w0, #1
LBB0_20:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error: binlog %s has %d local locations:"

l_.str.1:                               ; @.str.1
	.asciz	" %s"

l_.str.2:                               ; @.str.2
	.asciz	"\n"

l_.str.3:                               ; @.str.3
	.asciz	"error: binlog %s has no master location\n"

l_.str.4:                               ; @.str.4
	.asciz	"error: binlog %s has %d master locations:"

.subsections_via_symbols
