	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ChangePIDs                     ## -- Begin function ChangePIDs
	.p2align	4, 0x90
_ChangePIDs:                            ## @ChangePIDs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movq	%r14, %rdx
	callq	_dprintk
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	%rbx, %rdi
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	testl	$32768, %r15d                   ## imm = 0x8000
	movl	%r15d, %esi
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rbx
	movq	_DMX_PES_VIDEO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%esi, (%rbx,%rcx,4)
LBB0_4:
	testl	$32768, %r13d                   ## imm = 0x8000
	movq	%rdi, %r15
	movl	%eax, %edi
	jne	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movq	_DMX_PES_AUDIO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r13d, (%rax,%rcx,4)
LBB0_6:
	testl	$32768, %r12d                   ## imm = 0x8000
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rax
	movq	_DMX_PES_TELETEXT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r12d, (%rax,%rcx,4)
LBB0_8:
	movq	(%r14), %rax
	testl	$32768, %edi                    ## imm = 0x8000
	jne	LBB0_10
## %bb.9:
	movq	_DMX_PES_PCR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edi, (%rax,%rcx,4)
LBB0_10:
	movq	_DMX_PES_SUBTITLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%rax,%rcx,4)
	cmpq	$0, 16(%r14)
	je	LBB0_11
## %bb.12:
	movq	_DMX_PES_PCR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r9d
	movq	%r14, %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_SetPIDs
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_11:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p\n"

	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
	.comm	_DMX_PES_VIDEO,8,3              ## @DMX_PES_VIDEO
	.comm	_DMX_PES_AUDIO,8,3              ## @DMX_PES_AUDIO
	.comm	_DMX_PES_TELETEXT,8,3           ## @DMX_PES_TELETEXT
	.comm	_DMX_PES_PCR,8,3                ## @DMX_PES_PCR
	.comm	_DMX_PES_SUBTITLE,8,3           ## @DMX_PES_SUBTITLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ChangePIDs                     ; -- Begin function ChangePIDs
	.p2align	2
_ChangePIDs:                            ; @ChangePIDs
	.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	x25, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x24
	bl	_dprintk
	add	x19, x24, #8
	mov	x0, x19
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_2:
	tbz	w23, #15, LBB0_10
; %bb.3:
	tbz	w22, #15, LBB0_11
LBB0_4:
	tbnz	w21, #15, LBB0_6
LBB0_5:
	ldr	x8, [x24]
Lloh5:
	adrp	x9, _DMX_PES_TELETEXT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DMX_PES_TELETEXT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	str	w21, [x8, x9, lsl #2]
LBB0_6:
	ldr	x8, [x24]
Lloh8:
	adrp	x9, _DMX_PES_PCR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DMX_PES_PCR@GOTPAGEOFF]
	tbnz	w25, #15, LBB0_8
; %bb.7:
	ldr	x10, [x9]
	str	w25, [x8, x10, lsl #2]
LBB0_8:
Lloh10:
	adrp	x10, _DMX_PES_SUBTITLE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DMX_PES_SUBTITLE@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	str	wzr, [x8, x10, lsl #2]
	ldr	x10, [x24, #16]
	cbz	x10, LBB0_12
; %bb.9:
	ldr	x9, [x9]
	ldr	w5, [x8, x9, lsl #2]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_SetPIDs
	mov	x20, x0
	b	LBB0_13
LBB0_10:
	ldr	x8, [x24]
Lloh13:
	adrp	x9, _DMX_PES_VIDEO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DMX_PES_VIDEO@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	str	w23, [x8, x9, lsl #2]
	tbnz	w22, #15, LBB0_4
LBB0_11:
	ldr	x8, [x24]
Lloh16:
	adrp	x9, _DMX_PES_AUDIO@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DMX_PES_AUDIO@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	str	w22, [x8, x9, lsl #2]
	tbz	w21, #15, LBB0_5
	b	LBB0_6
LBB0_12:
	mov	w20, #0
LBB0_13:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_14:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p\n"

	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
	.comm	_DMX_PES_VIDEO,8,3              ; @DMX_PES_VIDEO
	.comm	_DMX_PES_AUDIO,8,3              ; @DMX_PES_AUDIO
	.comm	_DMX_PES_TELETEXT,8,3           ; @DMX_PES_TELETEXT
	.comm	_DMX_PES_PCR,8,3                ; @DMX_PES_PCR
	.comm	_DMX_PES_SUBTITLE,8,3           ; @DMX_PES_SUBTITLE
.subsections_via_symbols
