	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbcir_shutdown
_wbcir_shutdown:                        ## @wbcir_shutdown
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_pnp_get_drvdata
	movq	%rax, %r12
	movq	16(%rax), %r13
	movl	4(%r13), %r14d
	movl	8(%r13), %r15d
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$44, %edx
	callq	_memset
	leaq	-144(%rbp), %rdi
	xorl	%esi, %esi
	movl	$44, %edx
	callq	_memset
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.1:
	movq	%rbx, %rdi
	callq	_device_may_wakeup
	testl	%eax, %eax
	je	LBB0_19
## %bb.2:
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_19
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movl	%r14d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -96(%rbp)
	movl	%r15d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -144(%rbp)
	movl	%r14d, %edi
	sarl	$4, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -92(%rbp)
	movl	%r15d, %edi
	sarl	$4, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -140(%rbp)
	movl	%r14d, %edi
	sarl	$8, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -88(%rbp)
	movl	%r15d, %edi
	sarl	$8, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -136(%rbp)
	movl	%r14d, %edi
	sarl	$12, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -84(%rbp)
	movl	%r15d, %edi
	sarl	$12, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -132(%rbp)
	movl	%r14d, %edi
	sarl	$16, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -80(%rbp)
	movl	%r15d, %edi
	sarl	$16, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -128(%rbp)
	movl	(%r13), %eax
	movq	_RC_PROTO_RC6_6A_20@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:
	movl	$5, %eax
	movl	$52, %ecx
	jmp	LBB0_16
LBB0_19:
	movq	_WBCIR_REG_WCEIR_EV_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r12), %rdi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r12), %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	jmp	LBB0_20
LBB0_13:
	movl	%r14d, %edi
	sarl	$20, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -76(%rbp)
	movl	%r15d, %edi
	sarl	$20, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -124(%rbp)
	cmpl	$130, (%r13)
	jne	LBB0_15
## %bb.14:
	movl	$6, %eax
	movl	$60, %ecx
	jmp	LBB0_16
LBB0_10:
	movl	%r14d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -96(%rbp)
	movl	%r15d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -144(%rbp)
	movl	%r14d, %edi
	sarl	$4, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -92(%rbp)
	movl	%r15d, %edi
	sarl	$4, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -140(%rbp)
	movl	%r14d, %edi
	sarl	$8, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -88(%rbp)
	movl	%r15d, %edi
	sarl	$8, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -136(%rbp)
	sarl	$12, %r14d
	movl	%r14d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -84(%rbp)
	sarl	$12, %r15d
	movl	%r15d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -132(%rbp)
	movabsq	$38654705744, %rax              ## imm = 0x900000050
	movq	%rax, -80(%rbp)
	movabsq	$64424509680, %rax              ## imm = 0xF000000F0
	movq	%rax, -128(%rbp)
	movl	$44, -148(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_17
LBB0_4:
	movl	%r15d, %eax
	andl	$63, %eax
	movl	%r15d, %ecx
	shrl	$2, %ecx
	andl	$192, %ecx
	orl	%eax, %ecx
	movl	%ecx, -144(%rbp)
	shrl	$10, %r15d
	andl	$7, %r15d
	movl	%r15d, -140(%rbp)
	movl	%r14d, %eax
	andl	$63, %eax
	movl	%r14d, %ecx
	shrl	$2, %ecx
	movl	%ecx, %edx
	andl	$192, %edx
	orl	%eax, %edx
	movl	%edx, -96(%rbp)
	shrl	$10, %r14d
	andl	$7, %r14d
	andl	$16, %ecx
	orl	%r14d, %ecx
	xorl	$16, %ecx
	movl	%ecx, -92(%rbp)
	movl	$0, -148(%rbp)                  ## 4-byte Folded Spill
	movq	_IR_PROTOCOL_RC5@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_6:
	movl	%r15d, %edi
	callq	_bitrev8
	movl	%eax, -140(%rbp)
	movl	%eax, -144(%rbp)
	movl	%r15d, %edi
	sarl	$8, %edi
	callq	_bitrev8
	movl	%eax, -136(%rbp)
	sarl	$16, %r15d
	movl	%r15d, %edi
	callq	_bitrev8
	movl	%eax, -132(%rbp)
	movl	%r14d, %edi
	callq	_bitrev8
	movl	%eax, -92(%rbp)
	notl	%eax
	movl	%eax, -96(%rbp)
	movl	%r14d, %edi
	sarl	$8, %edi
	callq	_bitrev8
	movl	%eax, -88(%rbp)
	sarl	$16, %r14d
	jmp	LBB0_7
LBB0_9:
	movl	%r15d, %edi
	callq	_bitrev8
	movl	%eax, -144(%rbp)
	movl	%r15d, %edi
	sarl	$8, %edi
	callq	_bitrev8
	movl	%eax, -140(%rbp)
	movl	%r15d, %edi
	sarl	$16, %edi
	callq	_bitrev8
	movl	%eax, -136(%rbp)
	sarl	$24, %r15d
	movl	%r15d, %edi
	callq	_bitrev8
	movl	%eax, -132(%rbp)
	movl	%r14d, %edi
	callq	_bitrev8
	movl	%eax, -96(%rbp)
	movl	%r14d, %edi
	sarl	$8, %edi
	callq	_bitrev8
	movl	%eax, -92(%rbp)
	movl	%r14d, %edi
	sarl	$16, %edi
	callq	_bitrev8
	movl	%eax, -88(%rbp)
	sarl	$24, %r14d
LBB0_7:
	movl	%r14d, %edi
	callq	_bitrev8
	movl	%eax, -84(%rbp)
	jmp	LBB0_8
LBB0_5:
	movl	%r15d, %edi
	callq	_bitrev8
	movl	%eax, -140(%rbp)
	movl	%eax, -144(%rbp)
	sarl	$8, %r15d
	movl	%r15d, %edi
	callq	_bitrev8
	movl	%eax, -132(%rbp)
	movl	%eax, -136(%rbp)
	movl	%r14d, %edi
	callq	_bitrev8
	movl	%eax, -92(%rbp)
	notl	%eax
	movl	%eax, -96(%rbp)
	sarl	$8, %r14d
	movl	%r14d, %edi
	callq	_bitrev8
	movl	%eax, -84(%rbp)
	notl	%eax
	movl	%eax, -88(%rbp)
LBB0_8:
	movl	$0, -148(%rbp)                  ## 4-byte Folded Spill
	movq	_IR_PROTOCOL_NEC@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	movl	%r14d, %edi
	sarl	$24, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -72(%rbp)
	movl	%r15d, %edi
	sarl	$24, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -120(%rbp)
	sarl	$28, %r14d
	movl	%r14d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -68(%rbp)
	sarl	$28, %r15d
	movl	%r15d, %edi
	callq	_wbcir_to_rc6cells
	movl	%eax, -116(%rbp)
	movl	$8, %eax
	movl	$76, %ecx
LBB0_16:
	movl	%ecx, -148(%rbp)                ## 4-byte Spill
	movl	%eax, %eax
	movabsq	$42949673107, %rcx              ## imm = 0xA00000093
	movq	%rcx, -96(%rbp,%rax,4)
	movabsq	$64424509695, %rcx              ## imm = 0xF000000FF
	movq	%rcx, -144(%rbp,%rax,4)
LBB0_17:
	movq	_IR_PROTOCOL_RC6@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %ebx
	movq	_WBCIR_REG_WCEIR_INDEX@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%r12), %rdi
	movq	_WBCIR_REGSEL_COMPARE@GOTPCREL(%rip), %rax
	movq	_WBCIR_REG_ADDR0@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	(%rax), %esi
	movl	$63, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_DATA@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%r12), %rdi
	leaq	-96(%rbp), %rsi
	movl	$11, %edx
	callq	_outsb
	movq	(%r15), %rdi
	addq	8(%r12), %rdi
	movq	_WBCIR_REGSEL_MASK@GOTPCREL(%rip), %rax
	movl	(%r13), %esi
	orl	(%rax), %esi
	movl	$63, %edx
	callq	_wbcir_set_bits
	movq	(%r14), %rdi
	addq	8(%r12), %rdi
	leaq	-144(%rbp), %rsi
	movl	$11, %edx
	callq	_outsb
	movq	_WBCIR_REG_WCEIR_CSL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	movl	-148(%rbp), %edi                ## 4-byte Reload
	callq	_outb
	movq	_WBCIR_REG_WCEIR_STS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r12), %rdi
	movl	$23, %esi
	movl	$23, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_EV_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r12), %rdi
	movl	$1, %esi
	movl	$7, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r12), %rdi
	shll	$4, %ebx
	orl	$1, %ebx
	movl	%ebx, %esi
	movl	$49, %edx
LBB0_20:
	callq	_wbcir_set_bits
	movq	_WBCIR_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wbcir_set_irqmask
	movl	(%r12), %edi
	callq	_disable_irq
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_IR_PROTOCOL_RC5,4,2            ## @IR_PROTOCOL_RC5
	.comm	_IR_PROTOCOL_NEC,4,2            ## @IR_PROTOCOL_NEC
	.comm	_IR_PROTOCOL_RC6,4,2            ## @IR_PROTOCOL_RC6
	.comm	_RC_PROTO_RC6_6A_20,4,2         ## @RC_PROTO_RC6_6A_20
	.comm	_WBCIR_REG_WCEIR_INDEX,8,3      ## @WBCIR_REG_WCEIR_INDEX
	.comm	_WBCIR_REGSEL_COMPARE,4,2       ## @WBCIR_REGSEL_COMPARE
	.comm	_WBCIR_REG_ADDR0,4,2            ## @WBCIR_REG_ADDR0
	.comm	_WBCIR_REG_WCEIR_DATA,8,3       ## @WBCIR_REG_WCEIR_DATA
	.comm	_WBCIR_REGSEL_MASK,4,2          ## @WBCIR_REGSEL_MASK
	.comm	_WBCIR_REG_WCEIR_CSL,8,3        ## @WBCIR_REG_WCEIR_CSL
	.comm	_WBCIR_REG_WCEIR_STS,8,3        ## @WBCIR_REG_WCEIR_STS
	.comm	_WBCIR_REG_WCEIR_EV_EN,8,3      ## @WBCIR_REG_WCEIR_EV_EN
	.comm	_WBCIR_REG_WCEIR_CTL,8,3        ## @WBCIR_REG_WCEIR_CTL
	.comm	_WBCIR_IRQ_NONE,4,2             ## @WBCIR_IRQ_NONE
	.no_dead_strip	_wbcir_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wbcir_shutdown
lCPI0_0:
	.long	147                             ; 0x93
	.long	10                              ; 0xa
lCPI0_1:
	.long	255                             ; 0xff
	.long	15                              ; 0xf
lCPI0_2:
	.long	80                              ; 0x50
	.long	9                               ; 0x9
lCPI0_3:
	.long	240                             ; 0xf0
	.long	15                              ; 0xf
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wbcir_shutdown:                        ; @wbcir_shutdown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_pnp_get_drvdata
	mov	x19, x0
	ldr	x23, [x0, #16]
	ldp	w20, w21, [x23, #4]
	add	x0, sp, #44
	mov	w1, #0
	mov	w2, #44
	bl	_memset
	mov	x0, sp
	mov	w1, #0
	mov	w2, #44
	bl	_memset
	cbz	w21, LBB0_6
; %bb.1:
	mov	x0, x22
	bl	_device_may_wakeup
	cbz	w0, LBB0_6
; %bb.2:
	ldr	w8, [x23]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_6
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x20
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #44]
	mov	x0, x21
	bl	_wbcir_to_rc6cells
	str	w0, [sp]
	asr	w0, w20, #4
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #48]
	asr	w0, w21, #4
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #4]
	asr	w0, w20, #8
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #52]
	asr	w0, w21, #8
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #8]
	asr	w0, w20, #12
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #56]
	asr	w0, w21, #12
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #12]
	asr	w0, w20, #16
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #60]
	asr	w0, w21, #16
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #16]
	ldr	w8, [x23]
Lloh5:
	adrp	x9, _RC_PROTO_RC6_6A_20@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RC_PROTO_RC6_6A_20@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	mov	w22, #52
	mov	w8, #5
	b	LBB0_17
LBB0_6:
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #7
	bl	_wbcir_set_bits
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _WBCIR_REG_WCEIR_CTL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_CTL@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #1
	b	LBB0_20
LBB0_7:
	asr	w0, w20, #20
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #64]
	asr	w0, w21, #20
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #20]
	ldr	w8, [x23]
	cmp	w8, #130
	b.ne	LBB0_16
; %bb.8:
	mov	w22, #60
	mov	w8, #6
	b	LBB0_17
LBB0_9:
	mov	x0, x20
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #44]
	mov	x0, x21
	bl	_wbcir_to_rc6cells
	str	w0, [sp]
	asr	w0, w20, #4
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #48]
	asr	w0, w21, #4
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #4]
	asr	w0, w20, #8
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #52]
	asr	w0, w21, #8
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #8]
	asr	w0, w20, #12
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #56]
	asr	w0, w21, #12
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #12]
Lloh14:
	adrp	x8, lCPI0_2@PAGE
Lloh15:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	stur	d0, [sp, #60]
Lloh16:
	adrp	x8, lCPI0_3@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	str	d0, [sp, #16]
	mov	w22, #44
	b	LBB0_18
LBB0_10:
	mov	w22, #0
	lsr	w8, w21, #2
	and	w8, w8, #0xc0
	bfxil	w8, w21, #0, #6
	ubfx	w9, w21, #10, #3
	stp	w8, w9, [sp]
	lsr	w8, w20, #2
	and	w9, w8, #0xc0
	bfxil	w9, w20, #0, #6
	and	w8, w8, #0x10
	bfxil	w8, w20, #10, #3
	eor	w8, w8, #0x10
	stp	w9, w8, [sp, #44]
Lloh18:
	adrp	x8, _IR_PROTOCOL_RC5@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IR_PROTOCOL_RC5@GOTPAGEOFF]
	b	LBB0_19
LBB0_11:
	mov	x0, x21
	bl	_bitrev8
	stp	w0, w0, [sp]
	asr	w0, w21, #8
	bl	_bitrev8
	str	w0, [sp, #8]
	asr	w0, w21, #16
	bl	_bitrev8
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_bitrev8
	mvn	w8, w0
	stp	w8, w0, [sp, #44]
	asr	w0, w20, #8
	bl	_bitrev8
	str	w0, [sp, #52]
	asr	w0, w20, #16
	b	LBB0_13
LBB0_12:
	mov	x0, x21
	bl	_bitrev8
	str	w0, [sp]
	asr	w0, w21, #8
	bl	_bitrev8
	str	w0, [sp, #4]
	asr	w0, w21, #16
	bl	_bitrev8
	str	w0, [sp, #8]
	asr	w0, w21, #24
	bl	_bitrev8
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_bitrev8
	str	w0, [sp, #44]
	asr	w0, w20, #8
	bl	_bitrev8
	str	w0, [sp, #48]
	asr	w0, w20, #16
	bl	_bitrev8
	str	w0, [sp, #52]
	asr	w0, w20, #24
LBB0_13:
	bl	_bitrev8
	mov	w22, #0
	str	w0, [sp, #56]
	b	LBB0_15
LBB0_14:
	mov	x0, x21
	bl	_bitrev8
	stp	w0, w0, [sp]
	asr	w0, w21, #8
	bl	_bitrev8
	stp	w0, w0, [sp, #8]
	mov	x0, x20
	bl	_bitrev8
	mvn	w8, w0
	stp	w8, w0, [sp, #44]
	asr	w0, w20, #8
	bl	_bitrev8
	mov	w22, #0
	mvn	w8, w0
	stp	w8, w0, [sp, #52]
LBB0_15:
Lloh20:
	adrp	x8, _IR_PROTOCOL_NEC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IR_PROTOCOL_NEC@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:
	asr	w0, w20, #24
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #68]
	asr	w0, w21, #24
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #24]
	asr	w0, w20, #28
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #72]
	asr	w0, w21, #28
	bl	_wbcir_to_rc6cells
	str	w0, [sp, #28]
	mov	w22, #76
	mov	w8, #8
LBB0_17:
	lsl	x8, x8, #2
Lloh22:
	adrp	x9, lCPI0_0@PAGE
Lloh23:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	add	x9, sp, #44
	str	d0, [x9, x8]
Lloh24:
	adrp	x9, lCPI0_1@PAGE
Lloh25:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	mov	x9, sp
	str	d0, [x9, x8]
LBB0_18:
Lloh26:
	adrp	x8, _IR_PROTOCOL_RC6@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IR_PROTOCOL_RC6@GOTPAGEOFF]
LBB0_19:
	ldr	w21, [x8]
	ldr	x8, [x19, #8]
Lloh28:
	adrp	x20, _WBCIR_REG_WCEIR_INDEX@GOTPAGE
Lloh29:
	ldr	x20, [x20, _WBCIR_REG_WCEIR_INDEX@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh30:
	adrp	x10, _WBCIR_REGSEL_COMPARE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _WBCIR_REGSEL_COMPARE@GOTPAGEOFF]
	add	x0, x9, x8
Lloh32:
	ldr	w8, [x10]
Lloh33:
	adrp	x23, _WBCIR_REG_ADDR0@GOTPAGE
Lloh34:
	ldr	x23, [x23, _WBCIR_REG_ADDR0@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	w2, #63
	bl	_wbcir_set_bits
	ldr	x8, [x19, #8]
Lloh35:
	adrp	x24, _WBCIR_REG_WCEIR_DATA@GOTPAGE
Lloh36:
	ldr	x24, [x24, _WBCIR_REG_WCEIR_DATA@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x9, x8
	add	x1, sp, #44
	mov	w2, #11
	bl	_outsb
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x0, x9, x8
Lloh37:
	adrp	x8, _WBCIR_REGSEL_MASK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _WBCIR_REGSEL_MASK@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	w2, #63
	bl	_wbcir_set_bits
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	add	x0, x9, x8
	mov	x1, sp
	mov	w2, #11
	bl	_outsb
	ldr	x8, [x19, #8]
Lloh40:
	adrp	x9, _WBCIR_REG_WCEIR_CSL@GOTPAGE
Lloh41:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_CSL@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x22
	bl	_outb
	ldr	x8, [x19, #8]
Lloh43:
	adrp	x9, _WBCIR_REG_WCEIR_STS@GOTPAGE
Lloh44:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_STS@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #23
	mov	w2, #23
	bl	_wbcir_set_bits
	ldr	x8, [x19, #8]
Lloh46:
	adrp	x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGE
Lloh47:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w20, #1
	mov	w1, #1
	mov	w2, #7
	bl	_wbcir_set_bits
	ldr	x8, [x19, #8]
Lloh49:
	adrp	x9, _WBCIR_REG_WCEIR_CTL@GOTPAGE
Lloh50:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_CTL@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	add	x0, x9, x8
	bfi	w20, w21, #4, #28
	mov	x1, x20
	mov	w2, #49
LBB0_20:
	bl	_wbcir_set_bits
Lloh52:
	adrp	x8, _WBCIR_IRQ_NONE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WBCIR_IRQ_NONE@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wbcir_set_irqmask
	ldr	w0, [x19]
	bl	_disable_irq
	ldur	x8, [x29, #-56]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdrp	Lloh14, Lloh16
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
                                        ; -- End function
	.comm	_IR_PROTOCOL_RC5,4,2            ; @IR_PROTOCOL_RC5
	.comm	_IR_PROTOCOL_NEC,4,2            ; @IR_PROTOCOL_NEC
	.comm	_IR_PROTOCOL_RC6,4,2            ; @IR_PROTOCOL_RC6
	.comm	_RC_PROTO_RC6_6A_20,4,2         ; @RC_PROTO_RC6_6A_20
	.comm	_WBCIR_REG_WCEIR_INDEX,8,3      ; @WBCIR_REG_WCEIR_INDEX
	.comm	_WBCIR_REGSEL_COMPARE,4,2       ; @WBCIR_REGSEL_COMPARE
	.comm	_WBCIR_REG_ADDR0,4,2            ; @WBCIR_REG_ADDR0
	.comm	_WBCIR_REG_WCEIR_DATA,8,3       ; @WBCIR_REG_WCEIR_DATA
	.comm	_WBCIR_REGSEL_MASK,4,2          ; @WBCIR_REGSEL_MASK
	.comm	_WBCIR_REG_WCEIR_CSL,8,3        ; @WBCIR_REG_WCEIR_CSL
	.comm	_WBCIR_REG_WCEIR_STS,8,3        ; @WBCIR_REG_WCEIR_STS
	.comm	_WBCIR_REG_WCEIR_EV_EN,8,3      ; @WBCIR_REG_WCEIR_EV_EN
	.comm	_WBCIR_REG_WCEIR_CTL,8,3        ; @WBCIR_REG_WCEIR_CTL
	.comm	_WBCIR_IRQ_NONE,4,2             ; @WBCIR_IRQ_NONE
	.no_dead_strip	_wbcir_shutdown
.subsections_via_symbols
