	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_vb2_init                   ## -- Begin function dvb_vb2_init
	.p2align	4, 0x90
_dvb_vb2_init:                          ## @dvb_vb2_init
	.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	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	24(%rdi), %r14
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	movq	_DVB_BUF_TYPE_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	$0, 80(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	%rbx, 64(%rbx)
	movabsq	$4294967300, %rax               ## imm = 0x100000004
	movq	%rax, 24(%rbx)
	movq	_dvb_vb2_qops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_vb2_vmalloc_memops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_dvb_vb2_buf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	%r14, %rdi
	callq	_vb2_core_queue_init
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_DVB_VB2_STATE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_3
LBB0_2:
	leaq	20(%rbx), %rdi
	callq	_mutex_init
	leaq	16(%rbx), %rdi
	callq	_spin_lock_init
	leaq	12(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	4(%rbx), %edi
	movq	_DVB_VB2_NAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_strscpy
	movl	%r15d, (%rbx)
	movq	_DVB_VB2_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_dprintk
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DVB_BUF_TYPE_CAPTURE,4,2       ## @DVB_BUF_TYPE_CAPTURE
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_dvb_vb2_qops,4,2               ## @dvb_vb2_qops
	.comm	_vb2_vmalloc_memops,4,2         ## @vb2_vmalloc_memops
	.comm	_dvb_vb2_buf_ops,4,2            ## @dvb_vb2_buf_ops
	.comm	_DVB_VB2_STATE_NONE,4,2         ## @DVB_VB2_STATE_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%s] errno=%d\n"

	.comm	_DVB_VB2_NAME_MAX,4,2           ## @DVB_VB2_NAME_MAX
	.comm	_DVB_VB2_STATE_INIT,4,2         ## @DVB_VB2_STATE_INIT
L_.str.1:                               ## @.str.1
	.asciz	"[%s]\n"

.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 dvb_vb2_init
lCPI0_0:
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dvb_vb2_init
	.p2align	2
_dvb_vb2_init:                          ; @dvb_vb2_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #96
	bl	_memset
Lloh0:
	adrp	x8, _DVB_BUF_TYPE_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DVB_BUF_TYPE_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #88]
	str	xzr, [x19, #80]
Lloh3:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	str	x19, [x19, #64]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	mov	x0, x19
	str	d0, [x0, #24]!
Lloh8:
	adrp	x8, _dvb_vb2_qops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dvb_vb2_qops@GOTPAGEOFF]
Lloh10:
	adrp	x9, _vb2_vmalloc_memops@GOTPAGE
Lloh11:
	ldr	x9, [x9, _vb2_vmalloc_memops@GOTPAGEOFF]
	stp	x9, x8, [x19, #48]
Lloh12:
	adrp	x8, _dvb_vb2_buf_ops@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dvb_vb2_buf_ops@GOTPAGEOFF]
	stp	xzr, x8, [x19, #32]
	bl	_vb2_core_queue_init
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _DVB_VB2_STATE_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DVB_VB2_STATE_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w2, [x19, #4]
	str	x21, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	add	x0, x19, #20
	bl	_mutex_init
	add	x0, x19, #16
	bl	_spin_lock_init
	add	x0, x19, #12
	bl	_INIT_LIST_HEAD
	ldr	w0, [x19, #4]
Lloh19:
	adrp	x8, _DVB_VB2_NAME_MAX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DVB_VB2_NAME_MAX@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_strscpy
	str	w20, [x19]
Lloh22:
	adrp	x8, _DVB_VB2_STATE_INIT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DVB_VB2_STATE_INIT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w2, [x19, #4]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #3
LBB0_3:
	bl	_dprintk
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DVB_BUF_TYPE_CAPTURE,4,2       ; @DVB_BUF_TYPE_CAPTURE
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_dvb_vb2_qops,4,2               ; @dvb_vb2_qops
	.comm	_vb2_vmalloc_memops,4,2         ; @vb2_vmalloc_memops
	.comm	_dvb_vb2_buf_ops,4,2            ; @dvb_vb2_buf_ops
	.comm	_DVB_VB2_STATE_NONE,4,2         ; @DVB_VB2_STATE_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%s] errno=%d\n"

	.comm	_DVB_VB2_NAME_MAX,4,2           ; @DVB_VB2_NAME_MAX
	.comm	_DVB_VB2_STATE_INIT,4,2         ; @DVB_VB2_STATE_INIT
l_.str.1:                               ; @.str.1
	.asciz	"[%s]\n"

.subsections_via_symbols
