	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbcir_probe
_wbcir_probe:                           ## @wbcir_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_pnp_port_len
	movq	_EHFUNC_IOMEM_LEN@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_12
## %bb.1:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_pnp_port_len
	movq	_WAKEUP_IOMEM_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.2:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_pnp_port_len
	movq	_SP_IOMEM_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_pnp_set_drvdata
	leaq	64(%r14), %rdi
	callq	_spin_lock_init
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_pnp_port_start
	movq	%rax, (%r14)
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_pnp_port_start
	movq	%rax, 8(%r14)
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_pnp_port_start
	movq	%rax, 16(%r14)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_pnp_irq
	movl	%eax, 24(%r14)
	movq	8(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.5:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.6:
	movq	16(%r14), %r8
	testq	%r8, %r8
	je	LBB0_15
## %bb.7:
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %r9d
	callq	_dev_dbg
	movq	%r14, %r13
	addq	$32, %r13
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 32(%r14)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, 40(%r14)
	movq	_wbcir_led_brightness_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_wbcir_led_brightness_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_led_classdev_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.9:
	movq	_RC_DRIVER_IR_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rc_allocate_device
	movq	%rax, 56(%r14)
	testq	%rax, %rax
	je	LBB0_18
## %bb.10:
	movq	_DRVNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 108(%rax)
	movq	_WBCIR_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 104(%rax)
	leaq	L_.str.4(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_BUS_HOST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 100(%rax)
	movq	_PCI_VENDOR_ID_WINBOND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 96(%rax)
	movq	_WBCIR_ID_FAMILY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 92(%rax)
	movq	_WBCIR_ID_CHIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 88(%rax)
	movq	_RC_MAP_RC6_MCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 84(%rax)
	movq	_wbcir_idle_rx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 80(%rax)
	movq	_wbcir_set_carrier_report@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 76(%rax)
	movq	_wbcir_txmask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%rax)
	movq	_wbcir_txcarrier@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 68(%rax)
	movq	_wbcir_tx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%rax)
	movq	%r14, 56(%rax)
	movq	%r12, 48(%rax)
	movl	$1, 8(%rax)
	movq	_IR_DEFAULT_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%ecx, 16(%rax)
	movl	$2, %edi
	callq	_US_TO_NS
	movq	56(%r14), %rdi
	movl	%eax, 44(%rdi)
	movq	_RC_PROTO_BIT_ALL_IR_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	movq	_RC_PROTO_BIT_NEC@GOTPCREL(%rip), %rax
	movq	_RC_PROTO_BIT_NECX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RC_PROTO_BIT_NEC32@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RC_PROTO_BIT_RC5@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RC_PROTO_BIT_RC6_0@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RC_PROTO_BIT_RC6_6A_20@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RC_PROTO_BIT_RC6_6A_24@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RC_PROTO_BIT_RC6_6A_32@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RC_PROTO_BIT_RC6_MCE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 20(%rdi)
	movq	_RC_PROTO_RC6_MCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdi)
	movabsq	$-140739634854900, %rax         ## imm = 0xFFFF7FFF800F040C
	movq	%rax, 28(%rdi)
	movq	_wbcir_set_wakeup_filter@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	callq	_rc_register_device
	testl	%eax, %eax
	je	LBB0_19
## %bb.11:
	movl	%eax, %ebx
	movq	56(%r14), %rdi
	jmp	LBB0_30
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_13:
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_16:
	movq	%r14, %rdi
	callq	_kfree
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_pnp_set_drvdata
	jmp	LBB0_14
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_31
LBB0_19:
	movq	8(%r14), %rdi
	movq	_WAKEUP_IOMEM_LEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_DRVNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_request_region
	testl	%eax, %eax
	je	LBB0_24
## %bb.20:
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	movq	_DRVNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_request_region
	testl	%eax, %eax
	je	LBB0_25
## %bb.21:
	movq	16(%r14), %rdi
	movq	_SP_IOMEM_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_DRVNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_request_region
	testl	%eax, %eax
	je	LBB0_26
## %bb.22:
	movl	24(%r14), %edi
	movq	_wbcir_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRVNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_32
## %bb.23:
	movl	24(%r14), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	16(%r14), %rdi
	movq	_SP_IOMEM_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_release_region
	jmp	LBB0_27
LBB0_24:
	movq	8(%r14), %rdx
	movq	(%rbx), %rax
	leaq	(%rdx,%rax), %rcx
	decq	%rcx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_29
LBB0_25:
	movq	(%r14), %rdx
	movq	(%r15), %rax
	leaq	(%rdx,%rax), %rcx
	decq	%rcx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_28
LBB0_26:
	movq	16(%r14), %rdx
	movq	_SP_IOMEM_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rdx,%rax), %rcx
	decq	%rcx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_27:
	movq	(%r14), %rdi
	movq	(%r15), %rsi
	callq	_release_region
LBB0_28:
	movq	8(%r14), %rdi
	movq	_WAKEUP_IOMEM_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_release_region
LBB0_29:
	negl	%ebx
	movq	56(%r14), %rdi
	callq	_rc_unregister_device
	movq	$0, 56(%r14)
	xorl	%edi, %edi
LBB0_30:
	callq	_rc_free_device
LBB0_31:
	movq	%r13, %rdi
	callq	_led_classdev_unregister
	jmp	LBB0_16
LBB0_32:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_device_init_wakeup
	movq	%r14, %rdi
	callq	_wbcir_init_hw
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EHFUNC_IOMEM_LEN,8,3           ## @EHFUNC_IOMEM_LEN
	.comm	_WAKEUP_IOMEM_LEN,8,3           ## @WAKEUP_IOMEM_LEN
	.comm	_SP_IOMEM_LEN,8,3               ## @SP_IOMEM_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid resources\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Found device (w: 0x%lX, e: 0x%lX, s: 0x%lX, i: %u)\n"

L_.str.2:                               ## @.str.2
	.asciz	"cir::activity"

L_.str.3:                               ## @.str.3
	.asciz	"rc-feedback"

	.comm	_wbcir_led_brightness_set,4,2   ## @wbcir_led_brightness_set
	.comm	_wbcir_led_brightness_get,4,2   ## @wbcir_led_brightness_get
	.comm	_RC_DRIVER_IR_RAW,4,2           ## @RC_DRIVER_IR_RAW
	.comm	_DRVNAME,4,2                    ## @DRVNAME
	.comm	_WBCIR_NAME,4,2                 ## @WBCIR_NAME
L_.str.4:                               ## @.str.4
	.asciz	"wbcir/cir0"

	.comm	_BUS_HOST,4,2                   ## @BUS_HOST
	.comm	_PCI_VENDOR_ID_WINBOND,4,2      ## @PCI_VENDOR_ID_WINBOND
	.comm	_WBCIR_ID_FAMILY,4,2            ## @WBCIR_ID_FAMILY
	.comm	_WBCIR_ID_CHIP,4,2              ## @WBCIR_ID_CHIP
	.comm	_RC_MAP_RC6_MCE,4,2             ## @RC_MAP_RC6_MCE
	.comm	_wbcir_idle_rx,4,2              ## @wbcir_idle_rx
	.comm	_wbcir_set_carrier_report,4,2   ## @wbcir_set_carrier_report
	.comm	_wbcir_txmask,4,2               ## @wbcir_txmask
	.comm	_wbcir_txcarrier,4,2            ## @wbcir_txcarrier
	.comm	_wbcir_tx,4,2                   ## @wbcir_tx
	.comm	_IR_DEFAULT_TIMEOUT,4,2         ## @IR_DEFAULT_TIMEOUT
	.comm	_RC_PROTO_BIT_ALL_IR_DECODER,4,2 ## @RC_PROTO_BIT_ALL_IR_DECODER
	.comm	_RC_PROTO_BIT_NEC,4,2           ## @RC_PROTO_BIT_NEC
	.comm	_RC_PROTO_BIT_NECX,4,2          ## @RC_PROTO_BIT_NECX
	.comm	_RC_PROTO_BIT_NEC32,4,2         ## @RC_PROTO_BIT_NEC32
	.comm	_RC_PROTO_BIT_RC5,4,2           ## @RC_PROTO_BIT_RC5
	.comm	_RC_PROTO_BIT_RC6_0,4,2         ## @RC_PROTO_BIT_RC6_0
	.comm	_RC_PROTO_BIT_RC6_6A_20,4,2     ## @RC_PROTO_BIT_RC6_6A_20
	.comm	_RC_PROTO_BIT_RC6_6A_24,4,2     ## @RC_PROTO_BIT_RC6_6A_24
	.comm	_RC_PROTO_BIT_RC6_6A_32,4,2     ## @RC_PROTO_BIT_RC6_6A_32
	.comm	_RC_PROTO_BIT_RC6_MCE,4,2       ## @RC_PROTO_BIT_RC6_MCE
	.comm	_RC_PROTO_RC6_MCE,4,2           ## @RC_PROTO_RC6_MCE
	.comm	_wbcir_set_wakeup_filter,4,2    ## @wbcir_set_wakeup_filter
L_.str.5:                               ## @.str.5
	.asciz	"Region 0x%lx-0x%lx already in use!\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_wbcir_irq_handler,4,2          ## @wbcir_irq_handler
L_.str.6:                               ## @.str.6
	.asciz	"Failed to claim IRQ %u\n"

	.no_dead_strip	_wbcir_probe
.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_probe
lCPI0_0:
	.long	2148467724                      ; 0x800f040c
	.long	4294934527                      ; 0xffff7fff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wbcir_probe:                           ; @wbcir_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w1, #0
	bl	_pnp_port_len
Lloh0:
	adrp	x24, _EHFUNC_IOMEM_LEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EHFUNC_IOMEM_LEN@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_pnp_port_len
Lloh2:
	adrp	x23, _WAKEUP_IOMEM_LEN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _WAKEUP_IOMEM_LEN@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.2:
	mov	x0, x19
	mov	w1, #2
	bl	_pnp_port_len
Lloh4:
	adrp	x25, _SP_IOMEM_LEN@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SP_IOMEM_LEN@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.3:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.4:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_pnp_set_drvdata
	add	x0, x20, #64
	bl	_spin_lock_init
	mov	x0, x19
	mov	w1, #0
	bl	_pnp_port_start
	str	x0, [x20]
	mov	x0, x19
	mov	w1, #1
	bl	_pnp_port_start
	str	x0, [x20, #8]
	mov	x0, x19
	mov	w1, #2
	bl	_pnp_port_start
	str	x0, [x20, #16]
	mov	x0, x19
	mov	w1, #0
	bl	_pnp_irq
	str	w0, [x20, #24]
	ldr	x2, [x20, #8]
	cbz	x2, LBB0_7
; %bb.5:
	ldr	x3, [x20]
	cbz	x3, LBB0_7
; %bb.6:
	mov	x5, x0
	ldr	x4, [x20, #16]
	cmp	x4, #0
	ccmn	w0, #1, #4, ne
	b.ne	LBB0_13
LBB0_7:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w22, w8
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_8:
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	mov	x1, #0
	bl	_pnp_set_drvdata
	b	LBB0_11
LBB0_9:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_13:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh22:
	adrp	x8, l_.str.2@PAGE
Lloh23:
	add	x9, x8, l_.str.2@PAGEOFF
	mov	x21, x20
Lloh24:
	adrp	x8, l_.str.3@PAGE
Lloh25:
	add	x8, x8, l_.str.3@PAGEOFF
	stp	x9, x8, [x21, #32]!
Lloh26:
	adrp	x8, _wbcir_led_brightness_set@GOTPAGE
Lloh27:
	ldr	x8, [x8, _wbcir_led_brightness_set@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _wbcir_led_brightness_get@GOTPAGE
Lloh30:
	ldr	x9, [x9, _wbcir_led_brightness_get@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
	mov	x0, x19
	mov	x1, x21
	bl	_led_classdev_register
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.14:
Lloh32:
	adrp	x8, _RC_DRIVER_IR_RAW@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RC_DRIVER_IR_RAW@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_rc_allocate_device
	str	x0, [x20, #56]
	cbz	x0, LBB0_17
; %bb.15:
Lloh35:
	adrp	x26, _DRVNAME@GOTPAGE
Lloh36:
	ldr	x26, [x26, _DRVNAME@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh37:
	adrp	x9, _WBCIR_NAME@GOTPAGE
Lloh38:
	ldr	x9, [x9, _WBCIR_NAME@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #104]
Lloh40:
	adrp	x8, l_.str.4@PAGE
Lloh41:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [x0]
Lloh42:
	adrp	x8, _BUS_HOST@GOTPAGE
Lloh43:
	ldr	x8, [x8, _BUS_HOST@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _PCI_VENDOR_ID_WINBOND@GOTPAGE
Lloh46:
	ldr	x9, [x9, _PCI_VENDOR_ID_WINBOND@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x10, _WBCIR_ID_FAMILY@GOTPAGE
Lloh49:
	ldr	x10, [x10, _WBCIR_ID_FAMILY@GOTPAGEOFF]
	stp	w9, w8, [x0, #96]
Lloh50:
	ldr	w8, [x10]
Lloh51:
	adrp	x9, _WBCIR_ID_CHIP@GOTPAGE
Lloh52:
	ldr	x9, [x9, _WBCIR_ID_CHIP@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #88]
Lloh54:
	adrp	x8, _RC_MAP_RC6_MCE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _RC_MAP_RC6_MCE@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _wbcir_idle_rx@GOTPAGE
Lloh58:
	ldr	x9, [x9, _wbcir_idle_rx@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #80]
Lloh60:
	adrp	x8, _wbcir_set_carrier_report@GOTPAGE
Lloh61:
	ldr	x8, [x8, _wbcir_set_carrier_report@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
Lloh63:
	adrp	x9, _wbcir_txmask@GOTPAGE
Lloh64:
	ldr	x9, [x9, _wbcir_txmask@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
Lloh66:
	adrp	x10, _wbcir_txcarrier@GOTPAGE
Lloh67:
	ldr	x10, [x10, _wbcir_txcarrier@GOTPAGEOFF]
	stp	w9, w8, [x0, #72]
Lloh68:
	ldr	w8, [x10]
Lloh69:
	adrp	x9, _wbcir_tx@GOTPAGE
Lloh70:
	ldr	x9, [x9, _wbcir_tx@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #64]
	stp	x19, x20, [x0, #48]
	mov	w8, #1
Lloh72:
	adrp	x9, _IR_DEFAULT_TIMEOUT@GOTPAGE
Lloh73:
	ldr	x9, [x9, _IR_DEFAULT_TIMEOUT@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	stp	w8, w9, [x0, #8]
	add	w8, w9, w9, lsl #2
	lsl	w8, w8, #1
	str	w8, [x0, #16]
	mov	w0, #2
	bl	_US_TO_NS
	ldr	x8, [x20, #56]
Lloh75:
	adrp	x9, _RC_PROTO_BIT_ALL_IR_DECODER@GOTPAGE
Lloh76:
	ldr	x9, [x9, _RC_PROTO_BIT_ALL_IR_DECODER@GOTPAGEOFF]
Lloh77:
	adrp	x10, _RC_PROTO_BIT_NEC@GOTPAGE
Lloh78:
	ldr	x10, [x10, _RC_PROTO_BIT_NEC@GOTPAGEOFF]
	str	w0, [x8, #44]
Lloh79:
	ldr	w10, [x10]
Lloh80:
	adrp	x11, _RC_PROTO_BIT_NECX@GOTPAGE
Lloh81:
	ldr	x11, [x11, _RC_PROTO_BIT_NECX@GOTPAGEOFF]
Lloh82:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh83:
	adrp	x11, _RC_PROTO_BIT_NEC32@GOTPAGE
Lloh84:
	ldr	x11, [x11, _RC_PROTO_BIT_NEC32@GOTPAGEOFF]
Lloh85:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh86:
	adrp	x11, _RC_PROTO_BIT_RC5@GOTPAGE
Lloh87:
	ldr	x11, [x11, _RC_PROTO_BIT_RC5@GOTPAGEOFF]
Lloh88:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh89:
	adrp	x11, _RC_PROTO_BIT_RC6_0@GOTPAGE
Lloh90:
	ldr	x11, [x11, _RC_PROTO_BIT_RC6_0@GOTPAGEOFF]
Lloh91:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh92:
	adrp	x11, _RC_PROTO_BIT_RC6_6A_20@GOTPAGE
Lloh93:
	ldr	x11, [x11, _RC_PROTO_BIT_RC6_6A_20@GOTPAGEOFF]
Lloh94:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh95:
	adrp	x11, _RC_PROTO_BIT_RC6_6A_24@GOTPAGE
Lloh96:
	ldr	x11, [x11, _RC_PROTO_BIT_RC6_6A_24@GOTPAGEOFF]
Lloh97:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh98:
	adrp	x11, _RC_PROTO_BIT_RC6_6A_32@GOTPAGE
Lloh99:
	ldr	x11, [x11, _RC_PROTO_BIT_RC6_6A_32@GOTPAGEOFF]
Lloh100:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh101:
	adrp	x11, _RC_PROTO_BIT_RC6_MCE@GOTPAGE
Lloh102:
	ldr	x11, [x11, _RC_PROTO_BIT_RC6_MCE@GOTPAGEOFF]
Lloh103:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh104:
	adrp	x11, _RC_PROTO_RC6_MCE@GOTPAGE
Lloh105:
	ldr	x11, [x11, _RC_PROTO_RC6_MCE@GOTPAGEOFF]
Lloh106:
	ldr	w9, [x9]
Lloh107:
	ldr	w11, [x11]
	stp	w11, w9, [x8, #36]
Lloh108:
	adrp	x9, lCPI0_0@PAGE
Lloh109:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	stur	d0, [x8, #28]
Lloh110:
	adrp	x9, _wbcir_set_wakeup_filter@GOTPAGE
Lloh111:
	ldr	x9, [x9, _wbcir_set_wakeup_filter@GOTPAGEOFF]
Lloh112:
	ldr	w9, [x9]
	stp	w10, w9, [x8, #20]
	mov	x0, x8
	bl	_rc_register_device
	cbz	w0, LBB0_18
; %bb.16:
	mov	x22, x0
	ldr	x0, [x20, #56]
	b	LBB0_29
LBB0_17:
Lloh113:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh114:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh115:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_30
LBB0_18:
	ldr	x0, [x20, #8]
	ldr	x1, [x23]
	ldr	w2, [x26]
	bl	_request_region
	cbz	w0, LBB0_23
; %bb.19:
	ldr	x0, [x20]
	ldr	x1, [x24]
	ldr	w2, [x26]
	bl	_request_region
	cbz	w0, LBB0_24
; %bb.20:
	ldr	x0, [x20, #16]
	ldr	x1, [x25]
	ldr	w2, [x26]
	bl	_request_region
	cbz	w0, LBB0_25
; %bb.21:
	ldr	w0, [x20, #24]
Lloh116:
	adrp	x8, _wbcir_irq_handler@GOTPAGE
Lloh117:
	ldr	x8, [x8, _wbcir_irq_handler@GOTPAGEOFF]
Lloh118:
	ldr	w1, [x8]
	ldr	w3, [x26]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_31
; %bb.22:
	ldr	w8, [x20, #24]
	str	x8, [sp]
Lloh119:
	adrp	x1, l_.str.6@PAGE
Lloh120:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh121:
	adrp	x8, _EBUSY@GOTPAGE
Lloh122:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh123:
	ldr	w22, [x8]
	ldr	x0, [x20, #16]
	ldr	x1, [x25]
	bl	_release_region
	b	LBB0_26
LBB0_23:
	ldr	x8, [x20, #8]
	ldr	x9, [x23]
	add	x9, x8, x9
	sub	x9, x9, #1
	stp	x8, x9, [sp]
Lloh124:
	adrp	x1, l_.str.5@PAGE
Lloh125:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh126:
	adrp	x8, _EBUSY@GOTPAGE
Lloh127:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh128:
	ldr	w22, [x8]
	b	LBB0_28
LBB0_24:
	ldr	x8, [x20]
	ldr	x9, [x24]
	add	x9, x8, x9
	sub	x9, x9, #1
	stp	x8, x9, [sp]
Lloh129:
	adrp	x1, l_.str.5@PAGE
Lloh130:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh131:
	adrp	x8, _EBUSY@GOTPAGE
Lloh132:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh133:
	ldr	w22, [x8]
	b	LBB0_27
LBB0_25:
	ldr	x8, [x20, #16]
	ldr	x9, [x25]
	add	x9, x8, x9
	sub	x9, x9, #1
	stp	x8, x9, [sp]
Lloh134:
	adrp	x1, l_.str.5@PAGE
Lloh135:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh136:
	adrp	x8, _EBUSY@GOTPAGE
Lloh137:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh138:
	ldr	w22, [x8]
LBB0_26:
	ldr	x0, [x20]
	ldr	x1, [x24]
	bl	_release_region
LBB0_27:
	ldr	x0, [x20, #8]
	ldr	x1, [x23]
	bl	_release_region
LBB0_28:
	neg	w22, w22
	ldr	x0, [x20, #56]
	bl	_rc_unregister_device
	mov	x0, #0
	str	xzr, [x20, #56]
LBB0_29:
	bl	_rc_free_device
LBB0_30:
	mov	x0, x21
	bl	_led_classdev_unregister
	b	LBB0_8
LBB0_31:
	mov	x0, x19
	mov	w1, #1
	bl	_device_init_wakeup
	mov	x0, x20
	bl	_wbcir_init_hw
	mov	w22, #0
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdrp	Lloh22, Lloh24
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdrp	Lloh108, Lloh110
	.loh AdrpLdr	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh107
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh106
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpAdd	Lloh134, Lloh135
	.cfi_endproc
                                        ; -- End function
	.comm	_EHFUNC_IOMEM_LEN,8,3           ; @EHFUNC_IOMEM_LEN
	.comm	_WAKEUP_IOMEM_LEN,8,3           ; @WAKEUP_IOMEM_LEN
	.comm	_SP_IOMEM_LEN,8,3               ; @SP_IOMEM_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid resources\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Found device (w: 0x%lX, e: 0x%lX, s: 0x%lX, i: %u)\n"

l_.str.2:                               ; @.str.2
	.asciz	"cir::activity"

l_.str.3:                               ; @.str.3
	.asciz	"rc-feedback"

	.comm	_wbcir_led_brightness_set,4,2   ; @wbcir_led_brightness_set
	.comm	_wbcir_led_brightness_get,4,2   ; @wbcir_led_brightness_get
	.comm	_RC_DRIVER_IR_RAW,4,2           ; @RC_DRIVER_IR_RAW
	.comm	_DRVNAME,4,2                    ; @DRVNAME
	.comm	_WBCIR_NAME,4,2                 ; @WBCIR_NAME
l_.str.4:                               ; @.str.4
	.asciz	"wbcir/cir0"

	.comm	_BUS_HOST,4,2                   ; @BUS_HOST
	.comm	_PCI_VENDOR_ID_WINBOND,4,2      ; @PCI_VENDOR_ID_WINBOND
	.comm	_WBCIR_ID_FAMILY,4,2            ; @WBCIR_ID_FAMILY
	.comm	_WBCIR_ID_CHIP,4,2              ; @WBCIR_ID_CHIP
	.comm	_RC_MAP_RC6_MCE,4,2             ; @RC_MAP_RC6_MCE
	.comm	_wbcir_idle_rx,4,2              ; @wbcir_idle_rx
	.comm	_wbcir_set_carrier_report,4,2   ; @wbcir_set_carrier_report
	.comm	_wbcir_txmask,4,2               ; @wbcir_txmask
	.comm	_wbcir_txcarrier,4,2            ; @wbcir_txcarrier
	.comm	_wbcir_tx,4,2                   ; @wbcir_tx
	.comm	_IR_DEFAULT_TIMEOUT,4,2         ; @IR_DEFAULT_TIMEOUT
	.comm	_RC_PROTO_BIT_ALL_IR_DECODER,4,2 ; @RC_PROTO_BIT_ALL_IR_DECODER
	.comm	_RC_PROTO_BIT_NEC,4,2           ; @RC_PROTO_BIT_NEC
	.comm	_RC_PROTO_BIT_NECX,4,2          ; @RC_PROTO_BIT_NECX
	.comm	_RC_PROTO_BIT_NEC32,4,2         ; @RC_PROTO_BIT_NEC32
	.comm	_RC_PROTO_BIT_RC5,4,2           ; @RC_PROTO_BIT_RC5
	.comm	_RC_PROTO_BIT_RC6_0,4,2         ; @RC_PROTO_BIT_RC6_0
	.comm	_RC_PROTO_BIT_RC6_6A_20,4,2     ; @RC_PROTO_BIT_RC6_6A_20
	.comm	_RC_PROTO_BIT_RC6_6A_24,4,2     ; @RC_PROTO_BIT_RC6_6A_24
	.comm	_RC_PROTO_BIT_RC6_6A_32,4,2     ; @RC_PROTO_BIT_RC6_6A_32
	.comm	_RC_PROTO_BIT_RC6_MCE,4,2       ; @RC_PROTO_BIT_RC6_MCE
	.comm	_RC_PROTO_RC6_MCE,4,2           ; @RC_PROTO_RC6_MCE
	.comm	_wbcir_set_wakeup_filter,4,2    ; @wbcir_set_wakeup_filter
l_.str.5:                               ; @.str.5
	.asciz	"Region 0x%lx-0x%lx already in use!\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_wbcir_irq_handler,4,2          ; @wbcir_irq_handler
l_.str.6:                               ; @.str.6
	.asciz	"Failed to claim IRQ %u\n"

	.no_dead_strip	_wbcir_probe
.subsections_via_symbols
