	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_set_pm                  ## -- Begin function cw1200_set_pm
	.p2align	4, 0x90
_cw1200_set_pm:                         ## @cw1200_set_pm
	.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, %rbx
	movl	(%rsi), %eax
	movl	%eax, -16(%rbp)
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_WSM_PSM_FAST_PS_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -16(%rbp)
LBB0_2:
	leaq	-16(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	-16(%rbp), %eax
	movl	%eax, (%rbx)
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wsm_set_pm
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WSM_PSM_FAST_PS_FLAG,4,2       ## @WSM_PSM_FAST_PS_FLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_set_pm                  ; -- Begin function cw1200_set_pm
	.p2align	2
_cw1200_set_pm:                         ; @cw1200_set_pm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x1]
	str	w8, [sp, #8]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _WSM_PSM_FAST_PS_FLAG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WSM_PSM_FAST_PS_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [sp, #8]
LBB0_2:
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [x19]
	add	x1, sp, #8
	mov	x0, x19
	bl	_wsm_set_pm
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WSM_PSM_FAST_PS_FLAG,4,2       ; @WSM_PSM_FAST_PS_FLAG
.subsections_via_symbols
