	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_write_pos                  ## -- Begin function log_write_pos
	.p2align	4, 0x90
_log_write_pos:                         ## @log_write_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_W@GOTPCREL(%rip), %rbx
	movq	8(%rbx), %rax
	subq	(%rbx), %rax
	jge	LBB0_1
## %bb.2:
	movq	16(%rbx), %rdi
	callq	_assert
	movq	_log_pos@GOTPCREL(%rip), %rcx
	movq	8(%rbx), %rax
	addq	(%rcx), %rax
	addq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	addq	(%rbx), %rcx
	subq	%rcx, %rax
	jmp	LBB0_3
LBB0_1:
	movq	_log_pos@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_W,32,3                         ## @W
	.comm	_log_pos,8,3                    ## @log_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_write_pos                  ; -- Begin function log_write_pos
	.p2align	2
_log_write_pos:                         ; @log_write_pos
	.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
Lloh0:
	adrp	x19, _W@GOTPAGE
Lloh1:
	ldr	x19, [x19, _W@GOTPAGEOFF]
	ldp	x8, x9, [x19]
	subs	x8, x9, x8
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [x19, #16]
	bl	_assert
Lloh2:
	adrp	x8, _log_pos@GOTPAGE
Lloh3:
	ldr	x8, [x8, _log_pos@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldp	x10, x9, [x19, #16]
	ldp	x12, x11, [x19]
	add	x8, x11, x8
	add	x8, x8, x10
	add	x9, x9, x12
	sub	x0, x8, x9
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x9, _log_pos@GOTPAGE
Lloh6:
	ldr	x9, [x9, _log_pos@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x8, x9
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_W,32,3                         ; @W
	.comm	_log_pos,8,3                    ; @log_pos
.subsections_via_symbols
