	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function budget_register
_budget_register:                       ## @budget_register
	.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
	movq	%rdi, %rbx
	leaq	40(%rdi), %r15
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rbx, %rdx
	callq	_dprintk
	movq	%rbx, 88(%rbx)
	movabsq	$1099511628032, %rax            ## imm = 0x10000000100
	movq	%rax, 40(%rbx)
	movq	_budget_start_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	_budget_stop_feed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	$0, 72(%rbx)
	movq	_DMX_TS_FILTERING@GOTPCREL(%rip), %rax
	movq	_DMX_SECTION_FILTERING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_DMX_MEMORY_BASED_FILTERING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	48(%rbx), %r14
	movl	%ecx, 48(%rbx)
	movq	%r15, %rdi
	callq	_dvb_dmx_init
	leaq	16(%rbx), %rdi
	movl	$256, 16(%rbx)                  ## imm = 0x100
	movq	%r14, 32(%rbx)
	movq	$0, 24(%rbx)
	leaq	4(%rbx), %r15
	movq	%r15, %rsi
	callq	_dvb_dmxdev_init
	movq	_DMX_FRONTEND_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%rbx), %r12
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*56(%rbx)
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_DMX_MEMORY_FE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%rbx), %rsi
	movl	%eax, 12(%rbx)
	movq	%r14, %rdi
	callq	*56(%rbx)
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*64(%rbx)
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_dvb_net_init
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"budget: %p\n"

	.comm	_budget_start_feed,4,2          ## @budget_start_feed
	.comm	_budget_stop_feed,4,2           ## @budget_stop_feed
	.comm	_DMX_TS_FILTERING,4,2           ## @DMX_TS_FILTERING
	.comm	_DMX_SECTION_FILTERING,4,2      ## @DMX_SECTION_FILTERING
	.comm	_DMX_MEMORY_BASED_FILTERING,4,2 ## @DMX_MEMORY_BASED_FILTERING
	.comm	_DMX_FRONTEND_0,4,2             ## @DMX_FRONTEND_0
	.comm	_DMX_MEMORY_FE,4,2              ## @DMX_MEMORY_FE
	.no_dead_strip	_budget_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function budget_register
_budget_register:                       ; @budget_register
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_dprintk
	movi.2s	v0, #1, lsl #8
	mov	x0, x19
	str	d0, [x0, #40]!
	str	x19, [x19, #88]
Lloh2:
	adrp	x8, _budget_start_feed@GOTPAGE
Lloh3:
	ldr	x8, [x8, _budget_start_feed@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _budget_stop_feed@GOTPAGE
Lloh6:
	ldr	x9, [x9, _budget_stop_feed@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #80]
Lloh8:
	adrp	x8, _DMX_TS_FILTERING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMX_TS_FILTERING@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _DMX_SECTION_FILTERING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DMX_SECTION_FILTERING@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _DMX_MEMORY_BASED_FILTERING@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DMX_MEMORY_BASED_FILTERING@GOTPAGEOFF]
	str	xzr, [x19, #72]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	x20, x19
	str	w8, [x20, #48]!
	bl	_dvb_dmx_init
	mov	w8, #256
	mov	x0, x19
	str	w8, [x0, #16]!
	stp	xzr, x20, [x19, #24]
	add	x21, x19, #4
	mov	x1, x21
	bl	_dvb_dmxdev_init
Lloh17:
	adrp	x8, _DMX_FRONTEND_0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DMX_FRONTEND_0@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	mov	x22, x19
	str	w8, [x22, #8]!
	ldr	x8, [x22, #48]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh20:
	adrp	x8, _DMX_MEMORY_FE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DMX_MEMORY_FE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	x1, x19
	str	w8, [x1, #12]!
	ldur	x8, [x1, #44]
	mov	x0, x20
	blr	x8
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	x8, [x19, #64]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_dvb_net_init
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"budget: %p\n"

	.comm	_budget_start_feed,4,2          ; @budget_start_feed
	.comm	_budget_stop_feed,4,2           ; @budget_stop_feed
	.comm	_DMX_TS_FILTERING,4,2           ; @DMX_TS_FILTERING
	.comm	_DMX_SECTION_FILTERING,4,2      ; @DMX_SECTION_FILTERING
	.comm	_DMX_MEMORY_BASED_FILTERING,4,2 ; @DMX_MEMORY_BASED_FILTERING
	.comm	_DMX_FRONTEND_0,4,2             ; @DMX_FRONTEND_0
	.comm	_DMX_MEMORY_FE,4,2              ; @DMX_MEMORY_FE
	.no_dead_strip	_budget_register
.subsections_via_symbols
