	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_for_wrap
_check_for_wrap:                        ## @check_for_wrap
	.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	_wrap_count@GOTPCREL(%rip), %rdx
	movq	_header@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %rsi
	xorl	%eax, %eax
	cmpq	%rsi, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	%rsi, (%rdx)
	movq	_logbuffer@GOTPCREL(%rip), %r14
	movl	8(%rcx), %edx
	addl	(%r14), %edx
	movq	_walk@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	subl	%esi, %edx
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_swrite
	movl	(%r14), %eax
	addl	$4, %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wrap_count,8,3                 ## @wrap_count
	.comm	_header,8,3                     ## @header
	.comm	_logbuffer,4,2                  ## @logbuffer
	.comm	_walk,4,2                       ## @walk
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.no_dead_strip	_check_for_wrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_for_wrap
_check_for_wrap:                        ; @check_for_wrap
	.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	x8, _wrap_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wrap_count@GOTPAGEOFF]
	ldr	x11, [x8]
Lloh2:
	adrp	x9, _header@GOTPAGE
Lloh3:
	ldr	x9, [x9, _header@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x10, [x9]
	cmp	x11, x10
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	str	x10, [x8]
Lloh5:
	adrp	x19, _logbuffer@GOTPAGE
Lloh6:
	ldr	x19, [x19, _logbuffer@GOTPAGEOFF]
	ldr	w8, [x19]
	ldr	w9, [x9, #8]
Lloh7:
	adrp	x20, _walk@GOTPAGE
Lloh8:
	ldr	x20, [x20, _walk@GOTPAGEOFF]
	ldr	w1, [x20]
	add	w8, w9, w8
	sub	w2, w8, w1
Lloh9:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_swrite
	ldr	w8, [x19]
	add	w8, w8, #4
	str	w8, [x20]
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_wrap_count,8,3                 ; @wrap_count
	.comm	_header,8,3                     ; @header
	.comm	_logbuffer,4,2                  ; @logbuffer
	.comm	_walk,4,2                       ; @walk
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.no_dead_strip	_check_for_wrap
.subsections_via_symbols
