	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_sdh
_set_sdh:                               ## @set_sdh
	.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	_PRIV
	movq	(%rax), %rax
	movq	_SUNI_MRI_TYPE_PM5355@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_RPOP_RC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GET
	movq	_SUNI_RPOP_RC_ENSS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_PUT
	movq	_SSTB_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GET
	movq	_SUNI_SSTB_CTRL_LEN16@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_PUT
	movq	_SPTB_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GET
	movq	_SUNI_SPTB_CTRL_LEN16@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_PUT
LBB0_2:
	movq	_SUNI_TPOP_APM_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SUNI_TPOP_APM_S_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SUNI_TPOP_S_SDH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TPOP_APM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_CHANGE
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUNI_MRI_TYPE_PM5355,8,3       ## @SUNI_MRI_TYPE_PM5355
	.comm	_RPOP_RC,4,2                    ## @RPOP_RC
	.comm	_SUNI_RPOP_RC_ENSS,4,2          ## @SUNI_RPOP_RC_ENSS
	.comm	_SSTB_CTRL,4,2                  ## @SSTB_CTRL
	.comm	_SUNI_SSTB_CTRL_LEN16,4,2       ## @SUNI_SSTB_CTRL_LEN16
	.comm	_SPTB_CTRL,4,2                  ## @SPTB_CTRL
	.comm	_SUNI_SPTB_CTRL_LEN16,4,2       ## @SUNI_SPTB_CTRL_LEN16
	.comm	_SUNI_TPOP_APM_S,4,2            ## @SUNI_TPOP_APM_S
	.comm	_SUNI_TPOP_APM_S_SHIFT,4,2      ## @SUNI_TPOP_APM_S_SHIFT
	.comm	_SUNI_TPOP_S_SDH,4,2            ## @SUNI_TPOP_S_SDH
	.comm	_TPOP_APM,4,2                   ## @TPOP_APM
	.no_dead_strip	_set_sdh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_sdh
_set_sdh:                               ; @set_sdh
	.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	_PRIV
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SUNI_MRI_TYPE_PM5355@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUNI_MRI_TYPE_PM5355@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x19, _RPOP_RC@GOTPAGE
Lloh4:
	ldr	x19, [x19, _RPOP_RC@G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rp	x8, _TPOP_APM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TPOP_APM@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	bl	_REG_CHANGE
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SUNI_MRI_TYPE_PM5355,8,3       ; @SUNI_MRI_TYPE_PM5355
	.comm	_RPOP_RC,4,2                    ; @RPOP_RC
	.comm	_SUNI_RPOP_RC_ENSS,4,2          ; @SUNI_RPOP_RC_ENSS
	.comm	_SSTB_CTRL,4,2                  ; @SSTB_CTRL
	.comm	_SUNI_SSTB_CTRL_LEN16,4,2       ; @SUNI_SSTB_CTRL_LEN16
	.comm	_SPTB_CTRL,4,2                  ; @SPTB_CTRL
	.comm	_SUNI_SPTB_CTRL_LEN16,4,2       ; @SUNI_SPTB_CTRL_LEN16
	.comm	_SUNI_TPOP_APM_S,4,2            ; @SUNI_TPOP_APM_S
	.comm	_SUNI_TPOP_APM_S_SHIFT,4,2      ; @SUNI_TPOP_APM_S_SHIFT
	.comm	_SUNI_TPOP_S_SDH,4,2            ; @SUNI_TPOP_S_SDH
	.comm	_TPOP_APM,4,2                   ; @TPOP_APM
	.no_dead_strip	_set_sdh
.subsections_via_symbols
