	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_syslog
_do_syslog:                             ## @do_syslog
	.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
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$10, %edi
	ja	LBB0_10
## %bb.1:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_log_buf@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fifo_size                      ## TAILCALL
LBB0_10:
	movq	__EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_9:
	movq	_log_buf@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fifo_capacity                  ## TAILCALL
LBB0_5:
	movq	_FIFO_LAST@GOTPCREL(%rip), %rcx
	movq	_FIFO_PEEK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movl	%esi, %edi
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_syslog_read
	testl	%eax, %eax
	js	LBB0_6
LBB0_7:
	movq	_log_max_since_clear@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_11
LBB0_4:
	movq	_FIFO_LAST@GOTPCREL(%rip), %rcx
	movq	_FIFO_PEEK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movl	%esi, %edi
	movl	%edx, %esi
	movl	%eax, %edx
	jmp	LBB0_3
LBB0_2:
	movl	%esi, %edi
	movl	%edx, %esi
	xorl	%edx, %edx
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_syslog_read                    ## TAILCALL
LBB0_6:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_FIFO_LAST,4,2                  ## @FIFO_LAST
	.comm	_FIFO_PEEK,4,2                  ## @FIFO_PEEK
	.comm	_log_max_since_clear,4,2        ## @log_max_since_clear
	.comm	_log_buf,4,2                    ## @log_buf
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.no_dead_strip	_do_syslog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_syslog
_do_syslog:                             ; @do_syslog
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w0, #128
	cmp	w8, #10
	b.hi	LBB0_3
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh2:
	adrp	x8, __EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh5:
	adrp	x0, _log_buf@GOTPAGE
Lloh6:
	ldr	x0, [x0, _log_buf@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_fifo_size
LBB0_5:
Lloh7:
	adrp	x0, _log_buf@GOTPAGE
Lloh8:
	ldr	x0, [x0, _log_buf@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_fifo_capacity
LBB0_6:
Lloh9:
	adrp	x8, _FIFO_LAST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FIFO_LAST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _FIFO_PEEK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FIFO_PEEK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mov	x0, x1
	mov	x1, x2
	mov	x2, x8
	bl	_syslog_read
	tbnz	w0, #31, LBB0_2
LBB0_7:
	mov	w0, #0
Lloh15:
	adrp	x8, _log_max_since_clear@GOTPAGE
Lloh16:
	ldr	x8, [x8, _log_max_since_clear@GOTPAGEOFF]
Lloh17:
	str	wzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh18:
	adrp	x8, _FIFO_LAST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FIFO_LAST@GOTPAGEOFF]
Lloh20:
	adrp	x9, _FIFO_PEEK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _FIFO_PEEK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mov	x0, x1
	mov	x1, x2
	mov	x2, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_syslog_read
LBB0_9:
	mov	x0, x1
	mov	x1, x2
	mov	w2, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_syslog_read
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_FIFO_LAST,4,2                  ; @FIFO_LAST
	.comm	_FIFO_PEEK,4,2                  ; @FIFO_PEEK
	.comm	_log_max_since_clear,4,2        ; @log_max_since_clear
	.comm	_log_buf,4,2                    ; @log_buf
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.no_dead_strip	_do_syslog
.subsections_via_symbols
