	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg_scrambler
_cfg_scrambler:                         ## @cfg_scrambler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	_MXL_HYDRA_PLID_CMD_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movl	$24, -124(%rbp)
	movq	_MXL_HYDRA_DEMOD_SCRAMBLE_CODE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -104(%rbp)
	movl	%esi, %edi
	callq	_gold2root
	movl	%eax, %ecx
	movzbl	%ah, %edx
	movzbl	%al, %esi
	shrl	$24, %eax
	movl	%eax, -28(%rbp)
	shrl	$16, %ecx
	movzbl	%cl, %eax
	movl	%eax, -32(%rbp)
	movl	%edx, -36(%rbp)
	movl	%esi, -40(%rbp)
	leaq	-128(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$104, %esi
	callq	_send_command
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$120, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MXL_HYDRA_PLID_CMD_WRITE,4,2   ## @MXL_HYDRA_PLID_CMD_WRITE
	.comm	_MXL_HYDRA_DEMOD_SCRAMBLE_CODE_CMD,4,2 ## @MXL_HYDRA_DEMOD_SCRAMBLE_CODE_CMD
	.no_dead_strip	_cfg_scrambler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cfg_scrambler
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cfg_scrambler:                         ; @cfg_scrambler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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, #-24]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #8]
	stur	q0, [sp, #24]
	stur	q0, [sp, #72]
	stur	q0, [sp, #56]
	stur	q0, [sp, #40]
Lloh3:
	adrp	x8, _MXL_HYDRA_PLID_CMD_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MXL_HYDRA_PLID_CMD_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #24
	stp	w8, w9, [sp]
Lloh6:
	adrp	x8, _MXL_HYDRA_DEMOD_SCRAMBLE_CODE_CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MXL_HYDRA_DEMOD_SCRAMBLE_CODE_CMD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w8, [x0]
	str	w8, [sp, #24]
	mov	x0, x1
	bl	_gold2root
	lsr	w8, w0, #24
	str	w8, [sp, #100]
	dup.2s	v0, w0
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [sp, #92]
	and	w8, w0, #0xff
	str	w8, [sp, #88]
	mov	x2, sp
	mov	x0, x19
	mov	w1, #104
	bl	_send_command
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MXL_HYDRA_PLID_CMD_WRITE,4,2   ; @MXL_HYDRA_PLID_CMD_WRITE
	.comm	_MXL_HYDRA_DEMOD_SCRAMBLE_CODE_CMD,4,2 ; @MXL_HYDRA_DEMOD_SCRAMBLE_CODE_CMD
	.no_dead_strip	_cfg_scrambler
.subsections_via_symbols
