	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _img_ir_set_wake_filter
__img_ir_set_wake_filter:               ## @_img_ir_set_wake_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	8(%rdi), %rax
	movq	_RC_FILTER_WAKEUP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi), %edx
	movl	%edx, (%rax,%rcx,4)
	movq	_IMG_IR_F_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	popq	%rbp
	retq
LBB0_2:
	movq	_IMG_IR_F_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RC_FILTER_WAKEUP,8,3           ## @RC_FILTER_WAKEUP
	.comm	_IMG_IR_F_WAKE,4,2              ## @IMG_IR_F_WAKE
	.no_dead_strip	__img_ir_set_wake_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _img_ir_set_wake_filter
__img_ir_set_wake_filter:               ; @_img_ir_set_wake_filter
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _RC_FILTER_WAKEUP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RC_FILTER_WAKEUP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w10, [x1]
	str	w10, [x8, x9, lsl #2]
Lloh3:
	adrp	x8, _IMG_IR_F_WAKE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IMG_IR_F_WAKE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _IMG_IR_F_WAKE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IMG_IR_F_WAKE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RC_FILTER_WAKEUP,8,3           ; @RC_FILTER_WAKEUP
	.comm	_IMG_IR_F_WAKE,4,2              ; @IMG_IR_F_WAKE
	.no_dead_strip	__img_ir_set_wake_filter
.subsections_via_symbols
