	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92s_dm_init_dig
__rtl92s_dm_init_dig:                   ## @_rtl92s_dm_init_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_rtl_priv
	movq	%rax, %rbx
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rax
	movq	_DM_TYPE_BYDRIVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_hal_get_firmwareversion
	cmpl	$59, %eax
	jle	LBB0_3
## %bb.2:
	movq	_DIG_ALGO_BY_TOW_PORT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 140(%rbx)
	movq	_DIG_TWO_PORT_ALGO_RSSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 136(%rbx)
	movq	_DIG_EXT_PORT_STAGE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%rbx)
	movq	_DM_DBG_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%rbx)
	movq	$0, 120(%rbx)
	movq	_DM_STA_DIG_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 112(%rbx)
	movq	%rax, 104(%rbx)
	movq	_DIG_STA_DISCONNECT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 96(%rbx)
	movq	%rax, 88(%rbx)
	movq	_DIG_AP_DISCONNECT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rbx)
	movq	%rax, 72(%rbx)
	movq	_DM_DIG_THRESH_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_DM_DIG_THRESH_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_DM_FALSEALARM_THRESH_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_DM_FALSEALARM_THRESH_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_DM_DIG_HIGH_PWR_THRESH_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_DM_DIG_HIGH_PWR_THRESH_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	$50, 16(%rbx)
	movq	_DM_DIG_BACKOFF_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	movq	_DM_DIG_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movq	_DM_DIG_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	_DM_DIG_BACKOFF_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_TYPE_BYDRIVER,8,3           ## @DM_TYPE_BYDRIVER
	.comm	_DIG_ALGO_BY_TOW_PORT,4,2       ## @DIG_ALGO_BY_TOW_PORT
	.comm	_DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM,4,2 ## @DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM
	.comm	_DIG_TWO_PORT_ALGO_RSSI,4,2     ## @DIG_TWO_PORT_ALGO_RSSI
	.comm	_DIG_EXT_PORT_STAGE_MAX,4,2     ## @DIG_EXT_PORT_STAGE_MAX
	.comm	_DM_DBG_OFF,4,2                 ## @DM_DBG_OFF
	.comm	_DM_STA_DIG_MAX,8,3             ## @DM_STA_DIG_MAX
	.comm	_DIG_STA_DISCONNECT,8,3         ## @DIG_STA_DISCONNECT
	.comm	_DIG_AP_DISCONNECT,8,3          ## @DIG_AP_DISCONNECT
	.comm	_DM_DIG_THRESH_LOW,4,2          ## @DM_DIG_THRESH_LOW
	.comm	_DM_DIG_THRESH_HIGH,4,2         ## @DM_DIG_THRESH_HIGH
	.comm	_DM_FALSEALARM_THRESH_LOW,4,2   ## @DM_FALSEALARM_THRESH_LOW
	.comm	_DM_FALSEALARM_THRESH_HIGH,4,2  ## @DM_FALSEALARM_THRESH_HIGH
	.comm	_DM_DIG_HIGH_PWR_THRESH_LOW,4,2 ## @DM_DIG_HIGH_PWR_THRESH_LOW
	.comm	_DM_DIG_HIGH_PWR_THRESH_HIGH,4,2 ## @DM_DIG_HIGH_PWR_THRESH_HIGH
	.comm	_DM_DIG_BACKOFF_MAX,8,3         ## @DM_DIG_BACKOFF_MAX
	.comm	_DM_DIG_MAX,4,2                 ## @DM_DIG_MAX
	.comm	_DM_DIG_MIN,4,2                 ## @DM_DIG_MIN
	.comm	_DM_DIG_BACKOFF_MIN,4,2         ## @DM_DIG_BACKOFF_MIN
	.no_dead_strip	__rtl92s_dm_init_dig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92s_dm_init_dig
__rtl92s_dm_init_dig:                   ; @_rtl92s_dm_init_dig
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_rtl_priv
	mov	x19, x0
	movi.2s	v0, #1
	str	d0, [x0, #8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DM_TYPE_BYDRIVER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DM_TYPE_BYDRIVER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_hal_get_firmwareversion
	cmp	w0, #59
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _DIG_ALGO_BY_TOW_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIG_ALGO_BY_TOW_PORT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _DIG_TWO_PORT_ALGO_RSSI@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DIG_TWO_PORT_ALGO_RSSI@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _DIG_EXT_PORT_STAGE_MAX@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DIG_EXT_PORT_STAGE_MAX@GOTPAGEOFF]
	stp	w9, w8, [x19, #136]
Lloh12:
	ldr	w8, [x10]
Lloh13:
	adrp	x9, _DM_DBG_OFF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DM_DBG_OFF@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #128]
	str	xzr, [x19, #120]
Lloh16:
	adrp	x8, _DM_STA_DIG_MAX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DM_STA_DIG_MAX@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #104]
Lloh19:
	adrp	x8, _DIG_STA_DISCONNECT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DIG_STA_DISCONNECT@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #88]
Lloh22:
	adrp	x8, _DIG_AP_DISCONNECT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DIG_AP_DISCONNECT@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _DM_DIG_THRESH_LOW@GOTPAGE
Lloh26:
	ldr	x9, [x9, _DM_DIG_THRESH_LOW@GOTPAGEOFF]
	stp	x8, x8, [x19, #72]
Lloh27:
	ldr	w8, [x9]
Lloh28:
	adrp	x9, _DM_DIG_THRESH_HIGH@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DM_DIG_THRESH_HIGH@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #64]
Lloh31:
	adrp	x8, _DM_FALSEALARM_THRESH_LOW@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DM_FALSEALARM_THRESH_LOW@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _DM_FALSEALARM_THRESH_HIGH@GOTPAGE
Lloh35:
	ldr	x9, [x9, _DM_FALSEALARM_THRESH_HIGH@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
Lloh37:
	adrp	x8, _DM_DIG_HIGH_PWR_THRESH_LOW@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DM_DIG_HIGH_PWR_THRESH_LOW@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _DM_DIG_HIGH_PWR_THRESH_HIGH@GOTPAGE
Lloh41:
	ldr	x9, [x9, _DM_DIG_HIGH_PWR_THRESH_HIGH@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
	mov	w8, #50
Lloh43:
	adrp	x9, _DM_DIG_MAX@GOTPAGE
Lloh44:
	ldr	x9, [x9, _DM_DIG_MAX@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	adrp	x10, _DM_DIG_MIN@GOTPAGE
Lloh47:
	ldr	x10, [x10, _DM_DIG_MIN@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #32]
Lloh49:
	adrp	x9, _DM_DIG_BACKOFF_MAX@GOTPAGE
Lloh50:
	ldr	x9, [x9, _DM_DIG_BACKOFF_MAX@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	str	x9, [x19, #40]
	str	x9, [x19, #24]
Lloh52:
	adrp	x9, _DM_DIG_BACKOFF_MIN@GOTPAGE
Lloh53:
	ldr	x9, [x9, _DM_DIG_BACKOFF_MIN@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_TYPE_BYDRIVER,8,3           ; @DM_TYPE_BYDRIVER
	.comm	_DIG_ALGO_BY_TOW_PORT,4,2       ; @DIG_ALGO_BY_TOW_PORT
	.comm	_DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM,4,2 ; @DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM
	.comm	_DIG_TWO_PORT_ALGO_RSSI,4,2     ; @DIG_TWO_PORT_ALGO_RSSI
	.comm	_DIG_EXT_PORT_STAGE_MAX,4,2     ; @DIG_EXT_PORT_STAGE_MAX
	.comm	_DM_DBG_OFF,4,2                 ; @DM_DBG_OFF
	.comm	_DM_STA_DIG_MAX,8,3             ; @DM_STA_DIG_MAX
	.comm	_DIG_STA_DISCONNECT,8,3         ; @DIG_STA_DISCONNECT
	.comm	_DIG_AP_DISCONNECT,8,3          ; @DIG_AP_DISCONNECT
	.comm	_DM_DIG_THRESH_LOW,4,2          ; @DM_DIG_THRESH_LOW
	.comm	_DM_DIG_THRESH_HIGH,4,2         ; @DM_DIG_THRESH_HIGH
	.comm	_DM_FALSEALARM_THRESH_LOW,4,2   ; @DM_FALSEALARM_THRESH_LOW
	.comm	_DM_FALSEALARM_THRESH_HIGH,4,2  ; @DM_FALSEALARM_THRESH_HIGH
	.comm	_DM_DIG_HIGH_PWR_THRESH_LOW,4,2 ; @DM_DIG_HIGH_PWR_THRESH_LOW
	.comm	_DM_DIG_HIGH_PWR_THRESH_HIGH,4,2 ; @DM_DIG_HIGH_PWR_THRESH_HIGH
	.comm	_DM_DIG_BACKOFF_MAX,8,3         ; @DM_DIG_BACKOFF_MAX
	.comm	_DM_DIG_MAX,4,2                 ; @DM_DIG_MAX
	.comm	_DM_DIG_MIN,4,2                 ; @DM_DIG_MIN
	.comm	_DM_DIG_BACKOFF_MIN,4,2         ; @DM_DIG_BACKOFF_MIN
	.no_dead_strip	__rtl92s_dm_init_dig
.subsections_via_symbols
