	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_dmxdev_section_callback
_dvb_dmxdev_section_callback:           ## @dvb_dmxdev_section_callback
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	(%r8), %rbx
	leaq	28(%rbx), %r14
	movq	%r14, %rdi
	callq	_dvb_vb2_is_streaming
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	movq	16(%rbx), %rdi
	callq	_spin_lock
	movq	(%rbx), %rax
	movq	_DMXDEV_STATE_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	leaq	32(%rbx), %rdi
	callq	_del_timer
	leaq	L_.str(%rip), %rdi
	movl	$6, %esi
	movq	%r15, %rdx
	callq	_dprintk
	movq	%r14, %rdi
	callq	_dvb_vb2_is_streaming
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_dvb_vb2_fill_buffer
	movslq	%eax, %rcx
	cmpq	%r13, %rcx
	jne	LBB0_9
## %bb.6:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_dvb_vb2_fill_buffer
	jmp	LBB0_9
LBB0_3:
	movq	16(%rbx), %rdi
	callq	_spin_unlock
	jmp	LBB0_15
LBB0_1:
	cmpl	$0, 8(%rbx)
	jne	LBB0_14
	jmp	LBB0_2
LBB0_7:
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_dvb_dmxdev_buffer_write
	movslq	%eax, %rcx
	cmpq	%r13, %rcx
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_dvb_dmxdev_buffer_write
LBB0_9:
	testl	%eax, %eax
	jns	LBB0_11
## %bb.10:
	movl	%eax, 8(%rbx)
LBB0_11:
	movq	_DMX_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	je	LBB0_13
## %bb.12:
	movq	_DMXDEV_STATE_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_13:
	movq	16(%rbx), %rdi
	callq	_spin_unlock
LBB0_14:
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_wake_up
LBB0_15:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMXDEV_STATE_GO,8,3            ## @DMXDEV_STATE_GO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"section callback %*ph\n"

	.comm	_DMX_ONESHOT,4,2                ## @DMX_ONESHOT
	.comm	_DMXDEV_STATE_DONE,8,3          ## @DMXDEV_STATE_DONE
	.no_dead_strip	_dvb_dmxdev_section_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_dmxdev_section_callback
_dvb_dmxdev_section_callback:           ; @dvb_dmxdev_section_callback
	.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
	mov	x22, x5
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	ldr	x25, [x4]
	add	x23, x25, #28
	mov	x0, x23
	bl	_dvb_vb2_is_streaming
	cbz	x0, LBB0_6
LBB0_1:
	ldr	x0, [x25, #16]
	bl	_spin_lock
	ldr	x8, [x25]
Lloh0:
	adrp	x9, _DMXDEV_STATE_GO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMXDEV_STATE_GO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	add	x0, x25, #32
	bl	_del_timer
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #6
	mov	x2, x24
	bl	_dprintk
	mov	x0, x23
	bl	_dvb_vb2_is_streaming
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x21
	mov	x3, x22
	bl	_dvb_vb2_fill_buffer
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	_dvb_vb2_fill_buffer
	b	LBB0_9
LBB0_5:
	ldr	x0, [x25, #16]
	bl	_spin_unlock
	b	LBB0_16
LBB0_6:
	ldr	w8, [x25, #8]
	cbnz	w8, LBB0_15
	b	LBB0_1
LBB0_7:
	add	x22, x25, #8
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	bl	_dvb_dmxdev_buffer_write
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_dvb_dmxdev_buffer_write
LBB0_9:
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_10:
	tbz	w0, #31, LBB0_12
; %bb.11:
	str	w0, [x25, #8]
LBB0_12:
	ldr	w8, [x25, #24]
Lloh5:
	adrp	x9, _DMX_ONESHOT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DMX_ONESHOT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh8:
	adrp	x8, _DMXDEV_STATE_DONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMXDEV_STATE_DONE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x25]
LBB0_14:
	ldr	x0, [x25, #16]
	bl	_spin_unlock
LBB0_15:
	add	x0, x25, #12
	bl	_wake_up
LBB0_16:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DMXDEV_STATE_GO,8,3            ; @DMXDEV_STATE_GO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"section callback %*ph\n"

	.comm	_DMX_ONESHOT,4,2                ; @DMX_ONESHOT
	.comm	_DMXDEV_STATE_DONE,8,3          ; @DMXDEV_STATE_DONE
	.no_dead_strip	_dvb_dmxdev_section_callback
.subsections_via_symbols
