	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_photo                    ## -- Begin function check_photo
	.p2align	4, 0x90
_check_photo:                           ## @check_photo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$125, %esi
	jg	LBB0_3
## %bb.1:
	notl	%esi
	shrl	$31, %esi
	movl	%esi, %edi
	callq	_assert
	movq	_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	movl	$1, %eax
	cmpl	$3, %ecx
	jb	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	callq	_assert
                                        ## implicit-def: $eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mode,4,2                       ## @mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_photo                    ; -- Begin function check_photo
	.p2align	2
_check_photo:                           ; @check_photo
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #125
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mvn	w8, w1
	lsr	w0, w8, #31
	bl	_assert
Lloh0:
	adrp	x8, _mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	bl	_assert
                                        ; implicit-def: $w0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mode,4,2                       ; @mode
.subsections_via_symbols
