	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbcir_remove
_wbcir_remove:                          ## @wbcir_remove
	.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	%rdi, %r14
	callq	_pnp_get_drvdata
	movq	%rax, %rbx
	movq	_WBCIR_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wbcir_set_irqmask
	movl	32(%rbx), %edi
	movq	%r14, %rsi
	callq	_free_irq
	movq	_WBCIR_REG_WCEIR_STS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	movl	$23, %esi
	movl	$23, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_EV_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_wbcir_set_bits
	movl	28(%rbx), %edi
	callq	_rc_unregister_device
	leaq	24(%rbx), %r15
	movq	%r15, %rdi
	callq	_led_classdev_unregister
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wbcir_led_brightness_set
	movq	16(%rbx), %rdi
	movq	_WAKEUP_IOMEM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_release_region
	movq	8(%rbx), %rdi
	movq	_EHFUNC_IOMEM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_release_region
	movq	(%rbx), %rdi
	movq	_SP_IOMEM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_release_region
	movq	%rbx, %rdi
	callq	_kfree
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pnp_set_drvdata                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WBCIR_IRQ_NONE,4,2             ## @WBCIR_IRQ_NONE
	.comm	_WBCIR_REG_WCEIR_STS,8,3        ## @WBCIR_REG_WCEIR_STS
	.comm	_WBCIR_REG_WCEIR_CTL,8,3        ## @WBCIR_REG_WCEIR_CTL
	.comm	_WBCIR_REG_WCEIR_EV_EN,8,3      ## @WBCIR_REG_WCEIR_EV_EN
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.comm	_WAKEUP_IOMEM_LEN,4,2           ## @WAKEUP_IOMEM_LEN
	.comm	_EHFUNC_IOMEM_LEN,4,2           ## @EHFUNC_IOMEM_LEN
	.comm	_SP_IOMEM_LEN,4,2               ## @SP_IOMEM_LEN
	.no_dead_strip	_wbcir_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wbcir_remove
_wbcir_remove:                          ; @wbcir_remove
	.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, x0
	bl	_pnp_get_drvdata
	mov	x20, x0
Lloh0:
	adrp	x8, _WBCIR_IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WBCIR_IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_wbcir_set_irqmask
	ldr	w0, [x20, #32]
	mov	x1, x19
	bl	_free_irq
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _WBCIR_REG_WCEIR_STS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_STS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #23
	mov	w2, #23
	bl	_wbcir_set_bits
	ldr	x8, [x20, #16]
Lloh6:
	adrp	x9, _WBCIR_REG_WCEIR_CTL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_CTL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #1
	bl	_wbcir_set_bits
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #7
	bl	_wbcir_set_bits
	ldr	w0, [x20, #28]
	bl	_rc_unregister_device
	add	x21, x20, #24
	mov	x0, x21
	bl	_led_classdev_unregister
Lloh12:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wbcir_led_brightness_set
	ldr	x0, [x20, #16]
Lloh15:
	adrp	x8, _WAKEUP_IOMEM_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WAKEUP_IOMEM_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_release_region
	ldr	x0, [x20, #8]
Lloh18:
	adrp	x8, _EHFUNC_IOMEM_LEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EHFUNC_IOMEM_LEN@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_release_region
	ldr	x0, [x20]
Lloh21:
	adrp	x8, _SP_IOMEM_LEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SP_IOMEM_LEN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_release_region
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	mov	x1, #0
	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
	b	_pnp_set_drvdata
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WBCIR_IRQ_NONE,4,2             ; @WBCIR_IRQ_NONE
	.comm	_WBCIR_REG_WCEIR_STS,8,3        ; @WBCIR_REG_WCEIR_STS
	.comm	_WBCIR_REG_WCEIR_CTL,8,3        ; @WBCIR_REG_WCEIR_CTL
	.comm	_WBCIR_REG_WCEIR_EV_EN,8,3      ; @WBCIR_REG_WCEIR_EV_EN
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.comm	_WAKEUP_IOMEM_LEN,4,2           ; @WAKEUP_IOMEM_LEN
	.comm	_EHFUNC_IOMEM_LEN,4,2           ; @EHFUNC_IOMEM_LEN
	.comm	_SP_IOMEM_LEN,4,2               ; @SP_IOMEM_LEN
	.no_dead_strip	_wbcir_remove
.subsections_via_symbols
