	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_dmx_swfilter_packet_type
_dvb_dmx_swfilter_packet_type:          ## @dvb_dmx_swfilter_packet_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.2:
	cmpl	$0, 20(%rbx)
	je	LBB0_13
## %bb.3:
	movl	4(%rbx), %eax
	movq	_TS_PACKET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.4:
	movq	_TS_PAYLOAD_ONLY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dvb_dmx_swfilter_payload
	jmp	LBB0_7
LBB0_10:
	cmpl	$0, 16(%rbx)
	je	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dvb_dmx_swfilter_section_packet
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:
	movq	$0, 8(%rbx)
	jmp	LBB0_13
LBB0_6:
	leaq	20(%rbx), %r8
	leaq	32(%rbx), %r9
	movq	%r14, %rdi
	movl	$188, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	*40(%rbx)
LBB0_7:
	movq	_TS_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_13
## %bb.8:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$188, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_PACKET,4,2                  ## @TS_PACKET
	.comm	_TS_PAYLOAD_ONLY,4,2            ## @TS_PAYLOAD_ONLY
	.comm	_TS_DECODER,4,2                 ## @TS_DECODER
	.no_dead_strip	_dvb_dmx_swfilter_packet_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_dmx_swfilter_packet_type
_dvb_dmx_swfilter_packet_type:          ; @dvb_dmx_swfilter_packet_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.2:
	mov	x4, x19
	ldr	w8, [x4, #20]!
	cbz	w8, LBB0_13
; %bb.3:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _TS_PACKET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TS_PACKET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.4:
Lloh3:
	adrp	x9, _TS_PAYLOAD_ONLY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TS_PAYLOAD_ONLY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_dvb_dmx_swfilter_payload
	b	LBB0_10
LBB0_6:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_13
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_dvb_dmx_swfilter_section_packet
	tbz	w0, #31, LBB0_13
; %bb.8:
	str	xzr, [x19, #8]
	b	LBB0_13
LBB0_9:
	ldr	x8, [x19, #40]
	add	x5, x19, #32
	mov	x0, x20
	mov	w1, #188
	mov	x2, #0
	mov	w3, #0
	blr	x8
LBB0_10:
	ldr	w8, [x19, #4]
Lloh6:
	adrp	x9, _TS_DECODER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TS_DECODER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
	ldr	x8, [x19, #24]
	ldr	x3, [x8]
	cbz	x3, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #188
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_PACKET,4,2                  ; @TS_PACKET
	.comm	_TS_PAYLOAD_ONLY,4,2            ; @TS_PAYLOAD_ONLY
	.comm	_TS_DECODER,4,2                 ; @TS_DECODER
	.no_dead_strip	_dvb_dmx_swfilter_packet_type
.subsections_via_symbols
