	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_dm_write_dig            ## -- Begin function rtl92d_dm_write_dig
	.p2align	4, 0x90
_rtl92d_dm_write_dig:                   ## @rtl92d_dm_write_dig
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	_COMP_DIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	(%rax), %r8d
	movl	4(%rax), %r9d
	movl	12(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %ecx
	cmpl	%ecx, 4(%rbx)
	je	LBB0_5
## %bb.3:
	movq	_ROFDM0_XAAGCCORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$127, %edx
	callq	_rtl_set_bbreg
	movq	_ROFDM0_XBAGCCORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	$127, %edx
	callq	_rtl_set_bbreg
	movl	(%rbx), %eax
	jmp	LBB0_4
LBB0_1:
	movl	(%r15), %esi
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$23, %eax
LBB0_4:
	movl	%eax, 4(%rbx)
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_DIG,4,2                   ## @COMP_DIG
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cur_igvalue = 0x%x, pre_igvalue = 0x%x, back_val = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"DIG is disabled\n"

	.comm	_ROFDM0_XAAGCCORE1,4,2          ## @ROFDM0_XAAGCCORE1
	.comm	_ROFDM0_XBAGCCORE1,4,2          ## @ROFDM0_XBAGCCORE1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_dm_write_dig            ; -- Begin function rtl92d_dm_write_dig
	.p2align	2
_rtl92d_dm_write_dig:                   ; @rtl92d_dm_write_dig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x21, _COMP_DIG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _COMP_DIG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x22]
	ldp	w8, w9, [x0]
	ldr	w10, [x0, #12]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_3
; %bb.1:
	ldp	w3, w8, [x19]
	cmp	w8, w3
	b.eq	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _ROFDM0_XAAGCCORE1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROFDM0_XAAGCCORE1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #127
	bl	_rtl_set_bbreg
Lloh9:
	adrp	x8, _ROFDM0_XBAGCCORE1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROFDM0_XBAGCCORE1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	x0, x20
	mov	w2, #127
	bl	_rtl_set_bbreg
	ldr	w8, [x19]
	b	LBB0_4
LBB0_3:
	ldr	w1, [x21]
	ldr	w2, [x22]
Lloh12:
	adrp	x3, l_.str.1@PAGE
Lloh13:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	w8, #23
LBB0_4:
	str	w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_DIG,4,2                   ; @COMP_DIG
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cur_igvalue = 0x%x, pre_igvalue = 0x%x, back_val = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"DIG is disabled\n"

	.comm	_ROFDM0_XAAGCCORE1,4,2          ; @ROFDM0_XAAGCCORE1
	.comm	_ROFDM0_XBAGCCORE1,4,2          ; @ROFDM0_XBAGCCORE1
.subsections_via_symbols
