	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tmp_dispatch_logevent          ## -- Begin function tmp_dispatch_logevent
	.p2align	4, 0x90
_tmp_dispatch_logevent:                 ## @tmp_dispatch_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	$8, %esi
	setge	%dil
	callq	_assert
	movl	4(%r15), %edi
	callq	_conv_uid
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_passes@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.4:
	movq	_pass_min_uid@GOTPCREL(%rip), %r8
	movq	(%r8), %r9
	movl	$-1, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %edx
	subl	%ebx, %edx
	cmpl	$1, %edx
	jle	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rcx,%rbx), %edx
	sarl	%edx
	movslq	%edx, %rsi
	cmpl	%eax, (%r9,%rsi,4)
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %ecx
	jmp	LBB0_8
LBB0_9:
	testl	%ebx, %ebx
	js	LBB0_11
## %bb.10:
	movq	(%r8), %rdx
	movslq	%ecx, %rcx
	xorl	%edi, %edi
	cmpl	(%rdx,%rcx,4), %eax
	setl	%dil
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_3:
	movl	$-1, %ebx
LBB0_11:
	callq	_assert
	movq	_temp_file@GOTPCREL(%rip), %rax
	movslq	%ebx, %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_tmp_write_logevent
	movl	$1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_passes,4,2                     ## @passes
	.comm	_pass_min_uid,8,3               ## @pass_min_uid
	.comm	_temp_file,8,3                  ## @temp_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tmp_dispatch_logevent          ; -- Begin function tmp_dispatch_logevent
	.p2align	2
_tmp_dispatch_logevent:                 ; @tmp_dispatch_logevent
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	cmp	w1, #7
	cset	w0, gt
	bl	_assert
	ldr	w0, [x20, #4]
	bl	_conv_uid
	tbnz	w0, #31, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _passes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _passes@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
Lloh3:
	adrp	x9, _pass_min_uid@GOTPAGE
Lloh4:
	ldr	x9, [x9, _pass_min_uid@GOTPAGEOFF]
	ldr	x10, [x9]
	mov	w21, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w8, w21
	asr	w11, w11, #1
	ldr	w12, [x10, w11, sxtw #2]
	cmp	w12, w0
	csel	w21, w21, w11, gt
	csel	w8, w11, w8, gt
	sub	w11, w8, w21
	cmp	w11, #1
	b.gt	LBB0_3
; %bb.4:
	tbnz	w21, #31, LBB0_8
; %bb.5:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, sxtw #2]
	cmp	w0, w8
	cset	w0, lt
	b	LBB0_9
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	mov	w0, #0
	mov	w21, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	bl	_assert
Lloh5:
	adrp	x8, _temp_file@GOTPAGE
Lloh6:
	ldr	x8, [x8, _temp_file@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x0, x8, w21, sxtw #2
	mov	x1, x20
	mov	x2, x19
	bl	_tmp_write_logevent
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_passes,4,2                     ; @passes
	.comm	_pass_min_uid,8,3               ; @pass_min_uid
	.comm	_temp_file,8,3                  ; @temp_file
.subsections_via_symbols
