	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_set_scene_program
_s5c73m3_set_scene_program:             ## @s5c73m3_set_scene_program
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_s5c73m3_dbg@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	8(%rdi), %r12
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_v4l2_ctrl_get_menu
	movslq	%r14d, %r14
	movl	(%rax,%r14,4), %r8d
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_v4l2_dbg
	movq	_COMM_SCENE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	_s5c73m3_set_scene_program.scene_lookup(%rip), %rax
	movzwl	(%rax,%r14,2), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_s5c73m3_isp_command            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @s5c73m3_set_scene_program.scene_lookup
_s5c73m3_set_scene_program.scene_lookup:
	.short	132                             ## 0x84
	.short	141                             ## 0x8d
	.short	140                             ## 0x8c
	.short	139                             ## 0x8b
	.short	138                             ## 0x8a
	.short	137                             ## 0x89
	.short	136                             ## 0x88
	.short	134                             ## 0x86
	.short	133                             ## 0x85
	.short	135                             ## 0x87
	.short	131                             ## 0x83
	.short	130                             ## 0x82
	.short	129                             ## 0x81
	.short	128                             ## 0x80

	.comm	_s5c73m3_dbg,4,2                ## @s5c73m3_dbg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting %s scene mode\n"

	.comm	_COMM_SCENE_MODE,4,2            ## @COMM_SCENE_MODE
	.no_dead_strip	_s5c73m3_set_scene_program
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_set_scene_program
_s5c73m3_set_scene_program:             ; @s5c73m3_set_scene_program
	.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
Lloh0:
	adrp	x8, _s5c73m3_dbg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s5c73m3_dbg@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x22, x0
	ldr	x8, [x22], #8
	ldr	w0, [x8]
	bl	_v4l2_ctrl_get_menu
	ldr	w4, [x0, w19, sxtw #2]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x1, x21
	mov	x2, x22
	bl	_v4l2_dbg
Lloh5:
	adrp	x8, _COMM_SCENE_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COMM_SCENE_MODE@GOTPAGEOFF]
Lloh7:
	adrp	x9, _s5c73m3_set_scene_program.scene_lookup@PAGE
Lloh8:
	add	x9, x9, _s5c73m3_set_scene_program.scene_lookup@PAGEOFF
Lloh9:
	ldr	w1, [x8]
	ldrh	w2, [x9, w19, sxtw #1]
	mov	x0, x20
	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	_s5c73m3_isp_command
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	1                               ; @s5c73m3_set_scene_program.scene_lookup
_s5c73m3_set_scene_program.scene_lookup:
	.short	132                             ; 0x84
	.short	141                             ; 0x8d
	.short	140                             ; 0x8c
	.short	139                             ; 0x8b
	.short	138                             ; 0x8a
	.short	137                             ; 0x89
	.short	136                             ; 0x88
	.short	134                             ; 0x86
	.short	133                             ; 0x85
	.short	135                             ; 0x87
	.short	131                             ; 0x83
	.short	130                             ; 0x82
	.short	129                             ; 0x81
	.short	128                             ; 0x80

	.comm	_s5c73m3_dbg,4,2                ; @s5c73m3_dbg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting %s scene mode\n"

	.comm	_COMM_SCENE_MODE,4,2            ; @COMM_SCENE_MODE
	.no_dead_strip	_s5c73m3_set_scene_program
.subsections_via_symbols
