	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_has_photo                  ## -- Begin function set_has_photo
	.p2align	4, 0x90
_set_has_photo:                         ## @set_has_photo
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_get_user
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	(%rbx), %ebx
	movzbl	%bl, %r15d
	movl	4(%rax), %edi
	movq	_q_has_photo@GOTPCREL(%rip), %rax
	movl	$129, %ecx
	andl	(%r14), %ecx
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$1, %ecx
	sete	%dl
	movl	%ebx, %eax
	andl	$129, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sete	%cl
	callq	_user_change_field
	movl	4(%r14), %edi
	movq	_q_uses_apps@GOTPCREL(%rip), %rax
	movl	$130, %ecx
	andl	(%r14), %ecx
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$2, %ecx
	sete	%dl
	movl	%ebx, %eax
	andl	$130, %eax
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	sete	%cl
	callq	_user_change_field
	movl	4(%r14), %edi
	movq	_q_pays_money@GOTPCREL(%rip), %rax
	movl	$132, %ecx
	andl	(%r14), %ecx
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$4, %ecx
	sete	%dl
	andl	$132, %ebx
	xorl	%ecx, %ecx
	cmpl	$4, %ebx
	sete	%cl
	callq	_user_change_field
	movl	%r15d, (%r14)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_q_has_photo,4,2                ## @q_has_photo
	.comm	_q_uses_apps,4,2                ## @q_uses_apps
	.comm	_q_pays_money,4,2               ## @q_pays_money
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_has_photo                  ; -- Begin function set_has_photo
	.p2align	2
_set_has_photo:                         ; @set_has_photo
	.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	x20, x0
	ldr	w0, [x0, #4]
	bl	_get_user
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w20, [x20]
	and	w21, w20, #0xff
Lloh0:
	adrp	x8, _q_has_photo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _q_has_photo@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w0, [x0, #4]
	ldr	w8, [x19]
	mov	w9, #129
	and	w8, w8, w9
	cmp	w8, #1
	cset	w2, eq
	and	w8, w20, w9
	cmp	w8, #1
	cset	w3, eq
	bl	_user_change_field
Lloh3:
	adrp	x8, _q_uses_apps@GOTPAGE
Lloh4:
	ldr	x8, [x8, _q_uses_apps@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w8, w0, [x19]
	mov	w9, #130
	and	w8, w8, w9
	cmp	w8, #2
	cset	w2, eq
	and	w8, w20, w9
	cmp	w8, #2
	cset	w3, eq
	bl	_user_change_field
Lloh6:
	adrp	x8, _q_pays_money@GOTPAGE
Lloh7:
	ldr	x8, [x8, _q_pays_money@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	w8, w0, [x19]
	mov	w9, #132
	and	w8, w8, w9
	cmp	w8, #4
	cset	w2, eq
	and	w8, w20, w9
	cmp	w8, #4
	cset	w3, eq
	bl	_user_change_field
	str	w21, [x19]
	mov	w0, #1
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_q_has_photo,4,2                ; @q_has_photo
	.comm	_q_uses_apps,4,2                ; @q_uses_apps
	.comm	_q_pays_money,4,2               ; @q_pays_money
.subsections_via_symbols
