	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ir_sens
_get_ir_sens:                           ## @get_ir_sens
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_WIIMOTE_STATE_IR_SENS_LVL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WIIMOTE_IS_SET
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_WM_IR_BLOCK1_LEVEL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_WM_IR_BLOCK2_LEVEL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$1, %eax
	jmp	LBB0_11
LBB0_2:
	movq	_WIIMOTE_STATE_IR_SENS_LVL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WIIMOTE_IS_SET
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_WM_IR_BLOCK1_LEVEL2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_WM_IR_BLOCK2_LEVEL2@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$2, %eax
	jmp	LBB0_11
LBB0_4:
	movq	_WIIMOTE_STATE_IR_SENS_LVL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WIIMOTE_IS_SET
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_WM_IR_BLOCK1_LEVEL3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_WM_IR_BLOCK2_LEVEL3@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$3, %eax
	jmp	LBB0_11
LBB0_6:
	movq	_WIIMOTE_STATE_IR_SENS_LVL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WIIMOTE_IS_SET
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_WM_IR_BLOCK1_LEVEL4@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_WM_IR_BLOCK2_LEVEL4@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$4, %eax
	jmp	LBB0_11
LBB0_8:
	movq	_WIIMOTE_STATE_IR_SENS_LVL5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WIIMOTE_IS_SET
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_WM_IR_BLOCK1_LEVEL5@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_WM_IR_BLOCK2_LEVEL5@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$5, %eax
	jmp	LBB0_11
LBB0_10:
	movq	$0, (%r15)
	xorl	%ecx, %ecx
	xorl	%eax, %eax
LBB0_11:
	movq	%rcx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WIIMOTE_STATE_IR_SENS_LVL1,4,2 ## @WIIMOTE_STATE_IR_SENS_LVL1
	.comm	_WM_IR_BLOCK1_LEVEL1,8,3        ## @WM_IR_BLOCK1_LEVEL1
	.comm	_WM_IR_BLOCK2_LEVEL1,8,3        ## @WM_IR_BLOCK2_LEVEL1
	.comm	_WIIMOTE_STATE_IR_SENS_LVL2,4,2 ## @WIIMOTE_STATE_IR_SENS_LVL2
	.comm	_WM_IR_BLOCK1_LEVEL2,8,3        ## @WM_IR_BLOCK1_LEVEL2
	.comm	_WM_IR_BLOCK2_LEVEL2,8,3        ## @WM_IR_BLOCK2_LEVEL2
	.comm	_WIIMOTE_STATE_IR_SENS_LVL3,4,2 ## @WIIMOTE_STATE_IR_SENS_LVL3
	.comm	_WM_IR_BLOCK1_LEVEL3,8,3        ## @WM_IR_BLOCK1_LEVEL3
	.comm	_WM_IR_BLOCK2_LEVEL3,8,3        ## @WM_IR_BLOCK2_LEVEL3
	.comm	_WIIMOTE_STATE_IR_SENS_LVL4,4,2 ## @WIIMOTE_STATE_IR_SENS_LVL4
	.comm	_WM_IR_BLOCK1_LEVEL4,8,3        ## @WM_IR_BLOCK1_LEVEL4
	.comm	_WM_IR_BLOCK2_LEVEL4,8,3        ## @WM_IR_BLOCK2_LEVEL4
	.comm	_WIIMOTE_STATE_IR_SENS_LVL5,4,2 ## @WIIMOTE_STATE_IR_SENS_LVL5
	.comm	_WM_IR_BLOCK1_LEVEL5,8,3        ## @WM_IR_BLOCK1_LEVEL5
	.comm	_WM_IR_BLOCK2_LEVEL5,8,3        ## @WM_IR_BLOCK2_LEVEL5
	.no_dead_strip	_get_ir_sens
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ir_sens
_get_ir_sens:                           ; @get_ir_sens
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _WIIMOTE_ST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x8, [x20]
Lloh42:
	adrp	x8, _WM_IR_BLOCK2_LEVEL5@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WM_IR_BLOCK2_LEVEL5@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	mov	w0, #5
	b	LBB0_11
LBB0_10:
	mov	x8, #0
	str	xzr, [x20]
LBB0_11:
	str	x8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_WIIMOTE_STATE_IR_SENS_LVL1,4,2 ; @WIIMOTE_STATE_IR_SENS_LVL1
	.comm	_WM_IR_BLOCK1_LEVEL1,8,3        ; @WM_IR_BLOCK1_LEVEL1
	.comm	_WM_IR_BLOCK2_LEVEL1,8,3        ; @WM_IR_BLOCK2_LEVEL1
	.comm	_WIIMOTE_STATE_IR_SENS_LVL2,4,2 ; @WIIMOTE_STATE_IR_SENS_LVL2
	.comm	_WM_IR_BLOCK1_LEVEL2,8,3        ; @WM_IR_BLOCK1_LEVEL2
	.comm	_WM_IR_BLOCK2_LEVEL2,8,3        ; @WM_IR_BLOCK2_LEVEL2
	.comm	_WIIMOTE_STATE_IR_SENS_LVL3,4,2 ; @WIIMOTE_STATE_IR_SENS_LVL3
	.comm	_WM_IR_BLOCK1_LEVEL3,8,3        ; @WM_IR_BLOCK1_LEVEL3
	.comm	_WM_IR_BLOCK2_LEVEL3,8,3        ; @WM_IR_BLOCK2_LEVEL3
	.comm	_WIIMOTE_STATE_IR_SENS_LVL4,4,2 ; @WIIMOTE_STATE_IR_SENS_LVL4
	.comm	_WM_IR_BLOCK1_LEVEL4,8,3        ; @WM_IR_BLOCK1_LEVEL4
	.comm	_WM_IR_BLOCK2_LEVEL4,8,3        ; @WM_IR_BLOCK2_LEVEL4
	.comm	_WIIMOTE_STATE_IR_SENS_LVL5,4,2 ; @WIIMOTE_STATE_IR_SENS_LVL5
	.comm	_WM_IR_BLOCK1_LEVEL5,8,3        ; @WM_IR_BLOCK1_LEVEL5
	.comm	_WM_IR_BLOCK2_LEVEL5,8,3        ; @WM_IR_BLOCK2_LEVEL5
	.no_dead_strip	_get_ir_sens
.subsections_via_symbols
