	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_add_photo_location_engine   ## -- Begin function do_add_photo_location_engine
	.p2align	4, 0x90
_do_add_photo_location_engine:          ## @do_add_photo_location_engine
	.cfi_startproc
## %bb.0:
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	$1, %edx
	ja	LBB0_3
## %bb.1:
	cmpl	$3, %r8d
	ja	LBB0_3
## %bb.2:
	leal	-123(%rcx), %eax
	cmpb	$-26, %al
	jb	LBB0_3
## %bb.4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	32(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r13d
	movl	16(%rbp), %r12d
	movq	_LEV_PHOTO_ADD_PHOTO_LOCATION_ENGINE@GOTPCREL(%rip), %rax
	movq	_mode@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	shll	$16, %esi
	movslq	%esi, %rsi
	movzbl	%cl, %ecx
	shll	$8, %r8d
	shll	$10, %edx
	orq	%rcx, %rdx
	addq	%r8, %rdx
	addq	(%rax), %rdx
	addq	%rsi, %rdx
	movq	%rdx, %rdi
	movl	$32, %esi
	movl	%ebx, %edx
	callq	_alloc_log_event
	movl	%ebx, (%rax)
	movl	%r15d, 4(%rax)
	movl	%r14d, 8(%rax)
	movl	%r12d, 12(%rax)
	movl	%r13d, 16(%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%rax)
	movq	_add_photo_location_engine@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MY_LOG_EVENT_HANDLER           ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEV_PHOTO_ADD_PHOTO_LOCATION_ENGINE,8,3 ## @LEV_PHOTO_ADD_PHOTO_LOCATION_ENGINE
	.comm	_mode,4,2                       ## @mode
	.comm	_add_photo_location_engine,4,2  ## @add_photo_location_engine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_add_photo_location_engine   ; -- Begin function do_add_photo_location_engine
	.p2align	2
_do_add_photo_location_engine:          ; @do_add_photo_location_engine
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.hi	LBB0_4
; %bb.1:
	cmp	w4, #3
	b.hi	LBB0_4
; %bb.2:
	and	w8, w3, #0xff
	sub	w9, w8, #123
	cmn	w9, #26
	b.lo	LBB0_4
; %bb.3:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x1
	mov	x23, x0
	ldr	x24, [x29, #16]
Lloh0:
	adrp	x9, _LEV_PHOTO_ADD_PHOTO_LOCATION_ENGINE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LEV_PHOTO_ADD_PHOTO_LOCATION_ENGINE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _mode@GOTPAGE
Lloh4:
	ldr	x10, [x10, _mode@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w10, #16
	lsl	w11, w4, #8
	bfi	w8, w2, #10, #22
	add	x8, x8, x11
	add	x8, x8, x9
	add	x0, x8, w10, sxtw
	mov	w1, #32
	mov	x2, x23
	bl	_alloc_log_event
	stp	w23, w22, [x0]
	stp	w21, w20, [x0, #8]
	str	w19, [x0, #16]
	str	x24, [x0, #24]
Lloh6:
	adrp	x8, _add_photo_location_engine@GOTPAGE
Lloh7:
	ldr	x8, [x8, _add_photo_location_engine@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_MY_LOG_EVENT_HANDLER
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LEV_PHOTO_ADD_PHOTO_LOCATION_ENGINE,8,3 ; @LEV_PHOTO_ADD_PHOTO_LOCATION_ENGINE
	.comm	_mode,4,2                       ; @mode
	.comm	_add_photo_location_engine,4,2  ; @add_photo_location_engine
.subsections_via_symbols
