	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttusbdecfe_dvbt_set_frontend
_ttusbdecfe_dvbt_set_frontend:          ## @ttusbdecfe_dvbt_set_frontend
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -96(%rbp)
	leaq	-96(%rbp), %r14
	movl	$3, -100(%rbp)
	movl	$1, -68(%rbp)
	movl	$255, -52(%rbp)
	movl	$255, -36(%rbp)
	movslq	8(%rdi), %rax
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$38, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htonl
	movl	%eax, -116(%rbp)
	leaq	-116(%rbp), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r15), %rax
	leaq	-112(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$113, %esi
	movl	$80, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*(%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ttusbdecfe_dvbt_set_frontend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttusbdecfe_dvbt_set_frontend
_ttusbdecfe_dvbt_set_frontend:          ; @ttusbdecfe_dvbt_set_frontend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x21, [x0]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #76]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	add	x8, sp, #16
	add	x20, x8, #16
	mov	w8, #3
	str	w8, [sp, #28]
	mov	w8, #1
	mov	w9, #255
	str	w8, [sp, #60]
	str	w9, [sp, #76]
	str	w9, [sp, #92]
	ldrsw	x8, [x0, #8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w0, w8, w9, asr #6
	bl	_htonl
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x3, sp, #16
	mov	x0, x19
	mov	w1, #113
	mov	w2, #80
	mov	x4, #0
	mov	x5, #0
	blr	x8
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ttusbdecfe_dvbt_set_frontend
.subsections_via_symbols
