	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvbdmx_open
_dvbdmx_open:                           ## @dvbdmx_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_MAX_DVB_DEMUX_USERS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	incq	%rax
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EUSERS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DVB_DEMUX_USERS,8,3        ## @MAX_DVB_DEMUX_USERS
	.comm	_EUSERS,4,2                     ## @EUSERS
	.no_dead_strip	_dvbdmx_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvbdmx_open
_dvbdmx_open:                           ; @dvbdmx_open
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _MAX_DVB_DEMUX_USERS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_DVB_DEMUX_USERS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	add	x9, x9, #1
	str	x9, [x8]
	ret
LBB0_2:
Lloh3:
	adrp	x8, _EUSERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EUSERS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DVB_DEMUX_USERS,8,3        ; @MAX_DVB_DEMUX_USERS
	.comm	_EUSERS,4,2                     ; @EUSERS
	.no_dead_strip	_dvbdmx_open
.subsections_via_symbols
