	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copyexec_result_replay_logevent ## -- Begin function copyexec_result_replay_logevent
	.p2align	4, 0x90
_copyexec_result_replay_logevent:       ## @copyexec_result_replay_logevent
	.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
	movl	(%rdi), %ebx
	leal	-128(%rbx), %eax
	cmpl	$10, %eax
	ja	LBB0_13
## %bb.1:
	movq	%rdi, %rcx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_6:
	movq	%rcx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_default_replay_logevent        ## TAILCALL
LBB0_11:
	movl	$-2, %eax
	cmpl	$4, %esi
	jl	LBB0_14
## %bb.12:
	xorl	%esi, %esi
	cmpl	$135, %ebx
	sete	%sil
	movl	%ebx, %edi
	callq	_set_enable
	movl	$4, %eax
	jmp	LBB0_14
LBB0_9:
	movl	$-2, %eax
	cmpl	$4, %esi
	jl	LBB0_14
## %bb.10:
	xorl	%edi, %edi
	movq	%rcx, %rsi
	callq	_set_result
	movl	$4, %eax
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
	callq	_log_cur_pos
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_kprintf
	movl	$-3, %eax
	jmp	LBB0_14
LBB0_2:
	movl	$-2, %eax
	cmpl	$24, %esi
	jl	LBB0_14
## %bb.3:
	movl	4(%rcx), %ebx
	cmpl	$4096, %ebx                     ## imm = 0x1000
	ja	LBB0_14
## %bb.4:
	addl	$27, %ebx
	andl	$-4, %ebx
	cmpl	%esi, %ebx
	ja	LBB0_14
## %bb.5:
	movq	%rcx, %rdi
	callq	_copyexec_result_le_start
	testl	%eax, %eax
	movl	$-1, %eax
	cmovnsl	%ebx, %eax
	jmp	LBB0_14
LBB0_7:
	movl	$-2, %eax
	cmpl	$142, %esi
	jl	LBB0_14
## %bb.8:
	movq	%rcx, %rdi
	callq	_set_connect
	movl	$142, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown log event type %08x at position %lld\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copyexec_result_replay_logevent ; -- Begin function copyexec_result_replay_logevent
	.p2align	2
_copyexec_result_replay_logevent:       ; @copyexec_result_replay_logevent
	.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
	ldr	w19, [x0]
	sub	w9, w19, #128
	cmp	w9, #10
	b.hi	LBB0_8
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_default_replay_logevent
LBB0_3:
	cmp	w1, #4
	b.lt	LBB0_14
; %bb.4:
	cmp	w19, #135
	cset	w1, eq
	mov	x0, x19
	bl	_set_enable
	b	LBB0_7
LBB0_5:
	cmp	w1, #4
	b.lt	LBB0_14
; %bb.6:
	mov	x0, #0
	mov	x1, x8
	bl	_set_result
LBB0_7:
	mov	w0, #4
	b	LBB0_15
LBB0_8:
	bl	_log_cur_pos
	mov	x2, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_kprintf
	mov	w0, #-3
	b	LBB0_15
LBB0_9:
	cmp	w1, #24
	b.lt	LBB0_14
; %bb.10:
	ldr	w9, [x8, #4]
	cmp	w9, #1, lsl #12                 ; =4096
	b.hi	LBB0_14
; %bb.11:
	add	w9, w9, #27
	and	w19, w9, #0xfffffffc
	cmp	w19, w1
	b.hi	LBB0_14
; %bb.12:
	mov	x0, x8
	bl	_copyexec_result_le_start
	cmp	w0, #0
	csinv	w0, w19, wzr, ge
	b	LBB0_15
LBB0_13:
	cmp	w1, #142
	b.ge	LBB0_16
LBB0_14:
	mov	w0, #-2
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x0, x8
	bl	_set_connect
	mov	w0, #142
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-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_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown log event type %08x at position %lld\n"

.subsections_via_symbols
