	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtv_property_adv_params_sync
_dtv_property_adv_params_sync:          ## @dtv_property_adv_params_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	32(%rdi), %r8d
	movl	%r8d, 52(%rax)
	movl	28(%rdi), %edx
	movl	%edx, 48(%rax)
	movl	8(%rdi), %esi
	andl	$-4, %esi
	cmpl	$128, %esi
	jne	LBB0_2
## %bb.1:
	movl	40(%rdi), %esi
	movl	%esi, 44(%rax)
	movl	36(%rdi), %esi
	movl	%esi, 40(%rax)
LBB0_2:
	movq	16(%rdi), %rsi
	movq	_SYS_ISDBT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_11
## %bb.3:
	movl	%r8d, 52(%rax)
	movl	%edx, 48(%rax)
	movq	_QAM_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_FEC_AUTO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	movq	%rcx, 16(%rax)
	movq	_TRANSMISSION_MODE_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_GUARD_INTERVAL_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_HIERARCHY_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	24(%rdi), %ecx
	cmpl	$6000000, %ecx                  ## imm = 0x5B8D80
	je	LBB0_8
## %bb.4:
	cmpl	$8000000, %ecx                  ## imm = 0x7A1200
	je	LBB0_5
## %bb.6:
	cmpl	$7000000, %ecx                  ## imm = 0x6ACFC0
	jne	LBB0_9
## %bb.7:
	movq	_BANDWIDTH_7_MHZ@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	_BANDWIDTH_6_MHZ@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_5:
	movq	_BANDWIDTH_8_MHZ@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	movq	_BANDWIDTH_AUTO@GOTPCREL(%rip), %rcx
LBB0_10:
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_ISDBT,8,3                  ## @SYS_ISDBT
	.comm	_QAM_AUTO,4,2                   ## @QAM_AUTO
	.comm	_FEC_AUTO,8,3                   ## @FEC_AUTO
	.comm	_TRANSMISSION_MODE_AUTO,4,2     ## @TRANSMISSION_MODE_AUTO
	.comm	_GUARD_INTERVAL_AUTO,4,2        ## @GUARD_INTERVAL_AUTO
	.comm	_HIERARCHY_AUTO,4,2             ## @HIERARCHY_AUTO
	.comm	_BANDWIDTH_8_MHZ,4,2            ## @BANDWIDTH_8_MHZ
	.comm	_BANDWIDTH_7_MHZ,4,2            ## @BANDWIDTH_7_MHZ
	.comm	_BANDWIDTH_6_MHZ,4,2            ## @BANDWIDTH_6_MHZ
	.comm	_BANDWIDTH_AUTO,4,2             ## @BANDWIDTH_AUTO
	.no_dead_strip	_dtv_property_adv_params_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtv_property_adv_params_sync
_dtv_property_adv_params_sync:          ; @dtv_property_adv_params_sync
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	w10, w9, [x0, #28]
	stp	w10, w9, [x8, #48]
	ldr	w11, [x0, #8]
	and	w11, w11, #0xfffffffc
	cmp	w11, #128
	b.ne	LBB0_2
; %bb.1:
	ldur	d0, [x0, #36]
	str	d0, [x8, #40]
LBB0_2:
	ldr	x11, [x0, #16]
Lloh0:
	adrp	x12, _SYS_ISDBT@GOTPAGE
Lloh1:
	ldr	x12, [x12, _SYS_ISDBT@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_4
; %bb.3:
	stp	w10, w9, [x8, #48]
Lloh3:
	adrp	x9, _QAM_AUTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QAM_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _FEC_AUTO@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FEC_AUTO@GOTPAGEOFF]
	str	w9, [x8, #32]
Lloh8:
	ldr	x9, [x10]
	stp	x9, x9, [x8, #16]
Lloh9:
	adrp	x9, _TRANSMISSION_MODE_AUTO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TRANSMISSION_MODE_AUTO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _GUARD_INTERVAL_AUTO@GOTPAGE
Lloh13:
	ldr	x10, [x10, _GUARD_INTERVAL_AUTO@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
Lloh15:
	adrp	x9, _HIERARCHY_AUTO@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HIERARCHY_AUTO@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w10, [x0, #24]
Lloh18:
	adrp	x11, _BANDWIDTH_8_MHZ@GOTPAGE
Lloh19:
	ldr	x11, [x11, _BANDWIDTH_8_MHZ@GOTPAGEOFF]
	sub	w12, w10, #1708, lsl #12        ; =6995968
	cmp	w12, #4032
Lloh20:
	adrp	x12, _BANDWIDTH_AUTO@GOTPAGE
Lloh21:
	ldr	x12, [x12, _BANDWIDTH_AUTO@GOTPAGEOFF]
Lloh22:
	adrp	x13, _BANDWIDTH_7_MHZ@GOTPAGE
Lloh23:
	ldr	x13, [x13, _BANDWIDTH_7_MHZ@GOTPAGEOFF]
	csel	x12, x12, x13, ne
	sub	w13, w10, #1953, lsl #12        ; =7999488
	cmp	w13, #512
Lloh24:
	adrp	x13, _BANDWIDTH_6_MHZ@GOTPAGE
Lloh25:
	ldr	x13, [x13, _BANDWIDTH_6_MHZ@GOTPAGEOFF]
	csel	x11, x11, x12, eq
	sub	w10, w10, #1464, lsl #12        ; =5996544
	cmp	w10, #3456
	csel	x10, x13, x11, eq
	ldr	w10, [x10]
	stp	w10, w9, [x8]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_ISDBT,8,3                  ; @SYS_ISDBT
	.comm	_QAM_AUTO,4,2                   ; @QAM_AUTO
	.comm	_FEC_AUTO,8,3                   ; @FEC_AUTO
	.comm	_TRANSMISSION_MODE_AUTO,4,2     ; @TRANSMISSION_MODE_AUTO
	.comm	_GUARD_INTERVAL_AUTO,4,2        ; @GUARD_INTERVAL_AUTO
	.comm	_HIERARCHY_AUTO,4,2             ; @HIERARCHY_AUTO
	.comm	_BANDWIDTH_8_MHZ,4,2            ; @BANDWIDTH_8_MHZ
	.comm	_BANDWIDTH_7_MHZ,4,2            ; @BANDWIDTH_7_MHZ
	.comm	_BANDWIDTH_6_MHZ,4,2            ; @BANDWIDTH_6_MHZ
	.comm	_BANDWIDTH_AUTO,4,2             ; @BANDWIDTH_AUTO
	.no_dead_strip	_dtv_property_adv_params_sync
.subsections_via_symbols
