	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_set_sm_priority            ## -- Begin function osm_set_sm_priority
	.p2align	4, 0x90
_osm_set_sm_priority:                   ## @osm_set_sm_priority
	.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
	movq	8(%rax), %rcx
	movq	%rsi, 8(%rax)
	cmpq	%rsi, %rcx
	jge	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	movq	_IB_SMINFO_STATE_STANDBY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_TRAP_144_MASK_SM_PRIORITY_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_osm_send_trap144               ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SMINFO_STATE_STANDBY,8,3    ## @IB_SMINFO_STATE_STANDBY
	.comm	_TRAP_144_MASK_SM_PRIORITY_CHANGE,4,2 ## @TRAP_144_MASK_SM_PRIORITY_CHANGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_set_sm_priority            ; -- Begin function osm_set_sm_priority
	.p2align	2
_osm_set_sm_priority:                   ; @osm_set_sm_priority
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	str	x1, [x8, #8]
	cmp	x9, x1
	b.ge	LBB0_3
; %bb.1:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _IB_SMINFO_STATE_STANDBY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_SMINFO_STATE_STANDBY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _TRAP_144_MASK_SM_PRIORITY_CHANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRAP_144_MASK_SM_PRIORITY_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_osm_send_trap144
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SMINFO_STATE_STANDBY,8,3    ; @IB_SMINFO_STATE_STANDBY
	.comm	_TRAP_144_MASK_SM_PRIORITY_CHANGE,4,2 ; @TRAP_144_MASK_SM_PRIORITY_CHANGE
.subsections_via_symbols
