	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smiapp_propagate
_smiapp_propagate:                      ## @smiapp_propagate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_to_smiapp_sensor
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_to_smiapp_subdev
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_SMIAPP_PADS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	%r15d, %r8d
	callq	_smiapp_get_crop_compose
	cmpl	$128, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_10
## %bb.2:
	movq	-64(%rbp), %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_3:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	_SMIAPP_PAD_SINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rcx
	movl	4(%rcx), %edx
	movq	-64(%rbp), %rax
	movl	%edx, 4(%rax)
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_4
## %bb.5:
	movq	%rsi, %rcx
	cmpq	40(%rdi), %rsi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_6
## %bb.7:
	cmpq	8(%rdi), %rcx
	jne	LBB0_9
## %bb.8:
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rdi)
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	callq	_BUG
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_4:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_6:
	movq	24(%rdi), %rcx
	movq	_SMIAPP_LIMIT_SCALER_N_MIN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, 32(%rdi)
	movq	_SMIAPP_SCALING_MODE_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rdi)
LBB0_9:
	movq	_SMIAPP_PAD_SRC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r13,%rcx,8), %rcx
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_11:
	movq	%rsi, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SMIAPP_PADS,4,2                ## @SMIAPP_PADS
	.comm	_SMIAPP_PAD_SINK,8,3            ## @SMIAPP_PAD_SINK
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_SMIAPP_LIMIT_SCALER_N_MIN,8,3  ## @SMIAPP_LIMIT_SCALER_N_MIN
	.comm	_SMIAPP_SCALING_MODE_NONE,4,2   ## @SMIAPP_SCALING_MODE_NONE
	.comm	_SMIAPP_PAD_SRC,8,3             ## @SMIAPP_PAD_SRC
	.no_dead_strip	_smiapp_propagate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smiapp_propagate
_smiapp_propagate:                      ; @smiapp_propagate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_to_smiapp_sensor
	mov	x19, x0
	mov	x0, x25
	bl	_to_smiapp_subdev
	mov	x22, x0
	mov	x26, sp
Lloh3:
	adrp	x8, _SMIAPP_PADS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMIAPP_PADS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	sub	x3, x29, #80
	mov	x0, x25
	mov	x1, x24
	mov	x2, x20
	mov	x4, x21
	bl	_smiapp_get_crop_compose
	cmp	w23, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w23, #129
	b.ne	LBB0_7
; %bb.2:
	ldur	x8, [x29, #-80]
	b	LBB0_9
LBB0_3:
Lloh8:
	adrp	x8, _SMIAPP_PAD_SINK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMIAPP_PAD_SINK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x20, x8, lsl #3]
	ldur	x8, [x29, #-80]
	ldr	d0, [x9]
	str	d0, [x8]
Lloh11:
	adrp	x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_9
; %bb.4:
	ldr	x9, [x19, #40]
	cmp	x22, x9
	b.eq	LBB0_8
; %bb.5:
	ldr	x9, [x19, #8]
	cmp	x22, x9
	b.ne	LBB0_9
; %bb.6:
	movi.2s	v0, #1
	str	d0, [x19]
	b	LBB0_9
LBB0_7:
	bl	_BUG
	b	LBB0_10
LBB0_8:
	ldr	x9, [x19, #24]
Lloh14:
	adrp	x10, _SMIAPP_LIMIT_SCALER_N_MIN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _SMIAPP_LIMIT_SCALER_N_MIN@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	str	w9, [x19, #32]
Lloh17:
	adrp	x9, _SMIAPP_SCALING_MODE_NONE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SMIAPP_SCALING_MODE_NONE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	str	w9, [x19, #16]
LBB0_9:
Lloh20:
	adrp	x9, _SMIAPP_PAD_SRC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SMIAPP_PAD_SRC@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	x9, [x20, x9, lsl #3]
	ldr	x8, [x8]
	str	x8, [x9]
LBB0_10:
	mov	sp, x26
	ldur	x8, [x29, #-72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SMIAPP_PADS,4,2                ; @SMIAPP_PADS
	.comm	_SMIAPP_PAD_SINK,8,3            ; @SMIAPP_PAD_SINK
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_SMIAPP_LIMIT_SCALER_N_MIN,8,3  ; @SMIAPP_LIMIT_SCALER_N_MIN
	.comm	_SMIAPP_SCALING_MODE_NONE,4,2   ; @SMIAPP_SCALING_MODE_NONE
	.comm	_SMIAPP_PAD_SRC,8,3             ; @SMIAPP_PAD_SRC
	.no_dead_strip	_smiapp_propagate
.subsections_via_symbols
