	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iguanair_receiver
_iguanair_receiver:                     ## @iguanair_receiver
	.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
	movq	8(%rdi), %rax
	movq	$0, 8(%rax)
	movq	_DIR_OUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_CMD_RECEIVER_OFF@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_CMD_RECEIVER_ON@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_ir_raw_event_reset
LBB0_5:
	movq	%rbx, %rdi
	movl	$16, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iguanair_send                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DIR_OUT,4,2                    ## @DIR_OUT
	.comm	_CMD_RECEIVER_ON,4,2            ## @CMD_RECEIVER_ON
	.comm	_CMD_RECEIVER_OFF,4,2           ## @CMD_RECEIVER_OFF
	.no_dead_strip	_iguanair_receiver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iguanair_receiver
_iguanair_receiver:                     ; @iguanair_receiver
	.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	x19, x0
	ldr	x8, [x0, #8]
	str	xzr, [x8, #8]
Lloh0:
	adrp	x9, _DIR_OUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DIR_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #4]
Lloh3:
	adrp	x9, _CMD_RECEIVER_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CMD_RECEIVER_ON@GOTPAGEOFF]
Lloh5:
	adrp	x10, _CMD_RECEIVER_OFF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CMD_RECEIVER_OFF@GOTPAGEOFF]
	cmp	w1, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x8]
	cbz	w1, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_ir_raw_event_reset
LBB0_2:
	mov	x0, x19
	mov	w1, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iguanair_send
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIR_OUT,4,2                    ; @DIR_OUT
	.comm	_CMD_RECEIVER_ON,4,2            ; @CMD_RECEIVER_ON
	.comm	_CMD_RECEIVER_OFF,4,2           ; @CMD_RECEIVER_OFF
	.no_dead_strip	_iguanair_receiver
.subsections_via_symbols
