	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivtv_default
_ivtv_default:                          ## @ivtv_default
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edx killed $edx def $rdx
	leal	-129(%rdx), %eax
	cmpl	$14, %eax
	jae	LBB0_2
## %bb.1:
	movl	%edx, %esi
	movq	%rcx, %rdx
	jmp	_ivtv_decoder_ioctls            ## TAILCALL
LBB0_2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$128, %edx
	jne	LBB0_5
## %bb.3:
	movq	(%rsi), %r14
	movl	(%rcx), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.4:
	testb	$1, %bl
	jne	LBB0_7
	jmp	LBB0_8
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	jmp	LBB0_12
LBB0_6:
	cmpl	$0, 4(%r14)
	je	LBB0_11
LBB0_7:
	movq	%r14, %rdi
	callq	_ivtv_reset_ir_gpio
LBB0_8:
	testb	$2, %bl
	jne	LBB0_10
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movl	(%r14), %edi
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_core,4,2                       ## @core
	.comm	_reset,4,2                      ## @reset
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_ivtv_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivtv_default
_ivtv_default:                          ; @ivtv_default
	.cfi_startproc
; %bb.0:
	sub	w8, w2, #129
	cmp	w8, #14
	b.hs	LBB0_2
; %bb.1:
	mov	x1, x2
	mov	x2, x3
	b	_ivtv_decoder_ioctls
LBB0_2:
	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
	cmp	w2, #128
	b.ne	LBB0_5
; %bb.3:
	ldr	x19, [x1]
	ldr	w20, [x3]
	cbz	w20, LBB0_6
; %bb.4:
	tbnz	w20, #0, LBB0_7
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x0, x8
	b	LBB0_11
LBB0_6:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_ivtv_reset_ir_gpio
LBB0_8:
	tbz	w20, #1, LBB0_10
; %bb.9:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _core@GOTPAGE
Lloh4:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _reset@GOTPAGE
Lloh7:
	ldr	x8, [x8, _reset@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_v4l2_subdev_call
LBB0_10:
	mov	x0, #0
LBB0_11:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_core,4,2                       ; @core
	.comm	_reset,4,2                      ; @reset
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_ivtv_default
.subsections_via_symbols
