	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function venus_sys_set_default_properties
_venus_sys_set_default_properties:      ## @venus_sys_set_default_properties
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	_venus_fw_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_venus_sys_set_debug
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_warn
LBB0_2:
	movq	(%rbx), %rdi
	callq	_IS_V4
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_venus_sys_idle_indicator@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, %esi
	jmp	LBB0_5
LBB0_3:
	movq	_venus_sys_idle_indicator@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_5:
	movq	%rbx, %rdi
	callq	_venus_sys_set_idle_message
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_warn
LBB0_7:
	movq	_venus_fw_low_power_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_venus_sys_set_power_control
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_warn
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_venus_fw_debug,4,2             ## @venus_fw_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting fw debug msg ON failed (%d)\n"

	.comm	_venus_sys_idle_indicator,4,2   ## @venus_sys_idle_indicator
L_.str.1:                               ## @.str.1
	.asciz	"setting idle response ON failed (%d)\n"

	.comm	_venus_fw_low_power_mode,4,2    ## @venus_fw_low_power_mode
L_.str.2:                               ## @.str.2
	.asciz	"setting hw power collapse ON failed (%d)\n"

	.no_dead_strip	_venus_sys_set_default_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function venus_sys_set_default_properties
_venus_sys_set_default_properties:      ; @venus_sys_set_default_properties
	.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
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _venus_fw_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _venus_fw_debug@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_venus_sys_set_debug
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_2:
	ldr	x0, [x20]
	bl	_IS_V4
Lloh5:
	adrp	x8, _venus_sys_idle_indicator@GOTPAGE
Lloh6:
	ldr	x8, [x8, _venus_sys_idle_indicator@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	mov	w1, #1
	str	w1, [x8]
	b	LBB0_5
LBB0_4:
	ldr	w1, [x8]
LBB0_5:
	mov	x0, x20
	bl	_venus_sys_set_idle_message
	cbz	w0, LBB0_7
; %bb.6:
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_7:
Lloh9:
	adrp	x8, _venus_fw_low_power_mode@GOTPAGE
Lloh10:
	ldr	x8, [x8, _venus_fw_low_power_mode@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_venus_sys_set_power_control
	mov	x20, x0
	cbz	w0, LBB0_9
; %bb.8:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_warn
LBB0_9:
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_venus_fw_debug,4,2             ; @venus_fw_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting fw debug msg ON failed (%d)\n"

	.comm	_venus_sys_idle_indicator,4,2   ; @venus_sys_idle_indicator
l_.str.1:                               ; @.str.1
	.asciz	"setting idle response ON failed (%d)\n"

	.comm	_venus_fw_low_power_mode,4,2    ; @venus_fw_low_power_mode
l_.str.2:                               ; @.str.2
	.asciz	"setting hw power collapse ON failed (%d)\n"

	.no_dead_strip	_venus_sys_set_default_properties
.subsections_via_symbols
