	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt3155_s_std
_dt3155_s_std:                          ## @dt3155_s_std
	.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
	movl	%edx, %r15d
	callq	_video_drvdata
	xorl	%r14d, %r14d
	cmpl	%r15d, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	callq	_vb2_is_busy
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
LBB0_3:
	movl	%r15d, (%rbx)
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_VT_60HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movabsq	$2061584302720, %rax            ## imm = 0x1E000000280
	jmp	LBB0_6
LBB0_5:
	movq	_VT_50HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movabsq	$2473901163264, %rax            ## imm = 0x24000000300
LBB0_6:
	movq	%rax, 4(%rbx)
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.comm	_VT_60HZ,4,2                    ## @VT_60HZ
	.comm	_VT_50HZ,4,2                    ## @VT_50HZ
	.no_dead_strip	_dt3155_s_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dt3155_s_std
lCPI0_0:
	.long	640                             ; 0x280
	.long	480                             ; 0x1e0
lCPI0_1:
	.long	768                             ; 0x300
	.long	576                             ; 0x240
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dt3155_s_std:                          ; @dt3155_s_std
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	bl	_video_drvdata
	ldr	w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	mov	x19, x0
	add	x0, x0, #16
	bl	_vb2_is_busy
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	str	w20, [x19]
Lloh3:
	adrp	x8, _V4L2_STD_525_60@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #0
Lloh6:
	adrp	x8, _VT_60HZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VT_60HZ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
Lloh11:
	adrp	x8, _VT_50HZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VT_50HZ@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh14:
	adrp	x8, lCPI0_1@PAGE
Lloh15:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
LBB0_7:
	stur	d0, [x19, #4]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.comm	_VT_60HZ,4,2                    ; @VT_60HZ
	.comm	_VT_50HZ,4,2                    ; @VT_50HZ
	.no_dead_strip	_dt3155_s_std
.subsections_via_symbols
