	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si476x_core_remove
_si476x_core_remove:                    ## @si476x_core_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_i2c_get_clientdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_si476x_core_pronounce_dead
	leaq	8(%rbx), %rdi
	callq	_mfd_remove_devices
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_disable_irq
	jmp	LBB0_3
LBB0_2:
	leaq	8(%r14), %rdi
	callq	_cancel_delayed_work_sync
LBB0_3:
	movq	%r14, %rdi
	addq	$4, %rdi
	callq	_kfifo_free
	movl	(%r14), %edi
	callq	_gpio_is_valid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	callq	_gpio_free
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_si476x_core_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si476x_core_remove
_si476x_core_remove:                    ; @si476x_core_remove
	.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	x20, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
	bl	_si476x_core_pronounce_dead
	add	x0, x20, #8
	bl	_mfd_remove_devices
	ldr	x0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_disable_irq
	b	LBB0_3
LBB0_2:
	add	x0, x19, #8
	bl	_cancel_delayed_work_sync
LBB0_3:
	add	x0, x19, #4
	bl	_kfifo_free
	ldr	w0, [x19]
	bl	_gpio_is_valid
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19]
	bl	_gpio_free
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_si476x_core_remove
.subsections_via_symbols
