	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_change_photo_location_server ## -- Begin function do_change_photo_location_server
	.p2align	4, 0x90
_do_change_photo_location_server:       ## @do_change_photo_location_server
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movl	%ecx, %eax
	orl	%edx, %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.2:
	movl	%r8d, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_LEV_PHOTO_CHANGE_PHOTO_LOCATION_SERVER@GOTPCREL(%rip), %rax
	movq	_mode@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	shll	$16, %esi
	movslq	%esi, %rsi
	addl	%edx, %edx
	movl	%ecx, %edi
	addq	%rdx, %rdi
	addq	(%rax), %rdi
	addq	%rsi, %rdi
	movl	$4, %esi
	movl	%ebx, %edx
	callq	_alloc_log_event
	movl	%ebx, (%rax)
	movl	%r15d, 4(%rax)
	movl	%r14d, 8(%rax)
	movq	_change_photo_location_server@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MY_LOG_EVENT_HANDLER           ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_dbg
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"change_photo_location_server failed\n"

	.comm	_LEV_PHOTO_CHANGE_PHOTO_LOCATION_SERVER,8,3 ## @LEV_PHOTO_CHANGE_PHOTO_LOCATION_SERVER
	.comm	_mode,4,2                       ## @mode
	.comm	_change_photo_location_server,4,2 ## @change_photo_location_server
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_change_photo_location_server ; -- Begin function do_change_photo_location_server
	.p2align	2
_do_change_photo_location_server:       ; @do_change_photo_location_server
	.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
	orr	w8, w3, w2
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	x19, x4
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _LEV_PHOTO_CHANGE_PHOTO_LOCATION_SERVER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEV_PHOTO_CHANGE_PHOTO_LOCATION_SERVER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _mode@GOTPAGE
Lloh4:
	ldr	x9, [x9, _mode@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w9, #16
	lsl	w10, w2, #1
	add	x10, x10, w3, uxtw
	add	x8, x10, x8
	add	x0, x8, w9, sxtw
	mov	w1, #4
	mov	x2, x21
	bl	_alloc_log_event
	stp	w21, w20, [x0]
	str	w19, [x0, #8]
Lloh6:
	adrp	x8, _change_photo_location_server@GOTPAGE
Lloh7:
	ldr	x8, [x8, _change_photo_location_server@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #1
	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
	b	_MY_LOG_EVENT_HANDLER
LBB0_2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	mov	w0, #0
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"change_photo_location_server failed\n"

	.comm	_LEV_PHOTO_CHANGE_PHOTO_LOCATION_SERVER,8,3 ; @LEV_PHOTO_CHANGE_PHOTO_LOCATION_SERVER
	.comm	_mode,4,2                       ; @mode
	.comm	_change_photo_location_server,4,2 ; @change_photo_location_server
.subsections_via_symbols
