	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_manual_mode
_is_manual_mode:                        ## @is_manual_mode
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_SYS_ISDBT@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_31
## %bb.1:
	movq	8(%rdi), %rax
	movq	_TRANSMISSION_MODE_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_30
LBB0_3:
	movq	16(%rdi), %rax
	movq	_GUARD_INTERVAL_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_30
LBB0_5:
	movl	24(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_32
## %bb.6:
	movq	_QAM_AUTO@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_FEC_AUTO@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%r9d, %r9d
	testb	$1, %cl
	je	LBB0_10
## %bb.7:
	movq	32(%rdi), %rdx
	movl	(%rdx), %eax
	cmpl	$13, %eax
	jg	LBB0_9
## %bb.8:
	testl	%eax, %eax
	je	LBB0_9
## %bb.16:
	movl	$65, %esi
	cmpq	%rbx, 8(%rdx)
	je	LBB0_18
## %bb.17:
	movl	%eax, %r9d
	cmpq	%r8, 16(%rdx)
	jne	LBB0_10
	jmp	LBB0_18
LBB0_32:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_30
LBB0_9:
	andl	$-2, %ecx
	movl	%ecx, 24(%rdi)
LBB0_10:
	testb	$2, %cl
	je	LBB0_20
## %bb.11:
	movq	32(%rdi), %rax
	movl	24(%rax), %edx
	cmpl	$13, %edx
	jg	LBB0_19
## %bb.12:
	testl	%edx, %edx
	je	LBB0_19
## %bb.13:
	movl	$66, %esi
	cmpq	%rbx, 32(%rax)
	je	LBB0_18
## %bb.14:
	cmpq	%r8, 40(%rax)
	je	LBB0_18
## %bb.15:
	addl	%edx, %r9d
	jmp	LBB0_20
LBB0_19:
	andl	$-3, %ecx
	movl	%ecx, 24(%rdi)
LBB0_20:
	testb	$4, %cl
	je	LBB0_27
## %bb.21:
	movq	32(%rdi), %rax
	movl	48(%rax), %edx
	cmpl	$13, %edx
	jg	LBB0_26
## %bb.22:
	testl	%edx, %edx
	je	LBB0_26
## %bb.23:
	movl	$67, %esi
	cmpq	%rbx, 56(%rax)
	je	LBB0_18
## %bb.24:
	cmpq	%r8, 64(%rax)
	jne	LBB0_25
LBB0_18:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_31
LBB0_26:
	andl	$-5, %ecx
	movl	%ecx, 24(%rdi)
	jmp	LBB0_27
LBB0_25:
	addl	%edx, %r9d
LBB0_27:
	testl	%r9d, %r9d
	je	LBB0_29
## %bb.28:
	movl	$1, %ebx
	cmpl	$14, %r9d
	jl	LBB0_31
LBB0_29:
	leaq	L_.str.4(%rip), %rdi
LBB0_30:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dprintk
LBB0_31:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_ISDBT,8,3                  ## @SYS_ISDBT
	.comm	_TRANSMISSION_MODE_AUTO,8,3     ## @TRANSMISSION_MODE_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transmission mode auto\n"

	.comm	_GUARD_INTERVAL_AUTO,8,3        ## @GUARD_INTERVAL_AUTO
L_.str.1:                               ## @.str.1
	.asciz	"guard interval auto\n"

L_.str.2:                               ## @.str.2
	.asciz	"no layer modulation specified\n"

	.comm	_QAM_AUTO,8,3                   ## @QAM_AUTO
	.comm	_FEC_AUTO,8,3                   ## @FEC_AUTO
L_.str.3:                               ## @.str.3
	.asciz	"layer %c has either modulation or FEC auto\n"

L_.str.4:                               ## @.str.4
	.asciz	"number of segments is invalid\n"

	.no_dead_strip	_is_manual_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_manual_mode
_is_manual_mode:                        ; @is_manual_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SYS_ISDBT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SYS_ISDBT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _TRANSMISSION_MODE_AUTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRANSMISSION_MODE_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_33
LBB0_3:
	ldr	x8, [x0, #16]
Lloh8:
	adrp	x9, _GUARD_INTERVAL_AUTO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GUARD_INTERVAL_AUTO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_33
LBB0_5:
	ldr	w9, [x0, #24]
	cbz	w9, LBB0_8
; %bb.6:
Lloh13:
	adrp	x8, _QAM_AUTO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QAM_AUTO@GOTPAGEOFF]
Lloh15:
	ldr	x11, [x8]
Lloh16:
	adrp	x8, _FEC_AUTO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FEC_AUTO@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x8]
	tbnz	w9, #0, LBB0_9
; %bb.7:
	mov	w8, #0
	b	LBB0_14
LBB0_8:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_33
LBB0_9:
	ldr	x12, [x0, #32]
	ldr	w8, [x12]
	cmp	w8, #13
	ccmp	w8, #0, #4, le
	b.ne	LBB0_11
; %bb.10:
	mov	w8, #0
	and	w9, w9, #0xfffffffe
	str	w9, [x0, #24]
	b	LBB0_14
LBB0_11:
	ldr	x13, [x12, #8]
	cmp	x13, x11
	b.eq	LBB0_13
; %bb.12:
	ldr	x12, [x12, #16]
	cmp	x12, x10
	b.ne	LBB0_14
LBB0_13:
	mov	w8, #65
	b	LBB0_27
LBB0_14:
	tbz	w9, #1, LBB0_21
; %bb.15:
	ldr	x13, [x0, #32]
	ldr	w12, [x13, #24]
	cmp	w12, #13
	ccmp	w12, #0, #4, le
	b.ne	LBB0_17
; %bb.16:
	and	w9, w9, #0xfffffffd
	str	w9, [x0, #24]
	b	LBB0_21
LBB0_17:
	ldr	x14, [x13, #32]
	cmp	x14, x11
	b.eq	LBB0_19
; %bb.18:
	ldr	x13, [x13, #40]
	cmp	x13, x10
	b.ne	LBB0_20
LBB0_19:
	mov	w8, #66
	b	LBB0_27
LBB0_20:
	add	w8, w12, w8
LBB0_21:
	tbz	w9, #2, LBB0_29
; %bb.22:
	ldr	x13, [x0, #32]
	ldr	w12, [x13, #48]
	cmp	w12, #13
	ccmp	w12, #0, #4, le
	b.ne	LBB0_24
; %bb.23:
	and	w9, w9, #0xfffffffb
	str	w9, [x0, #24]
	b	LBB0_29
LBB0_24:
	ldr	x9, [x13, #56]
	cmp	x9, x11
	b.eq	LBB0_26
; %bb.25:
	ldr	x9, [x13, #64]
	cmp	x9, x10
	b.ne	LBB0_28
LBB0_26:
	mov	w8, #67
LBB0_27:
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_33
LBB0_28:
	add	w8, w12, w8
LBB0_29:
	cbz	w8, LBB0_32
; %bb.30:
	cmp	w8, #14
	b.ge	LBB0_32
; %bb.31:
	mov	w0, #1
	b	LBB0_35
LBB0_32:
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_33:
	bl	_dprintk
LBB0_34:
	mov	w0, #0
LBB0_35:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_ISDBT,8,3                  ; @SYS_ISDBT
	.comm	_TRANSMISSION_MODE_AUTO,8,3     ; @TRANSMISSION_MODE_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transmission mode auto\n"

	.comm	_GUARD_INTERVAL_AUTO,8,3        ; @GUARD_INTERVAL_AUTO
l_.str.1:                               ; @.str.1
	.asciz	"guard interval auto\n"

l_.str.2:                               ; @.str.2
	.asciz	"no layer modulation specified\n"

	.comm	_QAM_AUTO,8,3                   ; @QAM_AUTO
	.comm	_FEC_AUTO,8,3                   ; @FEC_AUTO
l_.str.3:                               ; @.str.3
	.asciz	"layer %c has either modulation or FEC auto\n"

l_.str.4:                               ; @.str.4
	.asciz	"number of segments is invalid\n"

	.no_dead_strip	_is_manual_mode
.subsections_via_symbols
