	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl4030_shutdown
_twl4030_shutdown:                      ## @twl4030_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	8(%rcx), %rdx
	cmpq	%rdi, %rdx
	jne	LBB0_2
## %bb.1:
	movq	16(%rcx), %rdx
	movq	%rdx, 8(%rcx)
LBB0_2:
	movq	$0, 16(%rcx)
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	8(%rdx), %rdx
	cmpl	$0, (%rdx)
	jne	LBB0_5
LBB0_4:
	movq	$0, (%rcx)
LBB0_5:
	movq	8(%rdi), %rcx
	cmpl	$4, (%rcx)
	jne	LBB0_6
## %bb.7:
	movl	(%rdi), %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_twl4030_tdm_enable             ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_twl4030_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl4030_shutdown
_twl4030_shutdown:                      ; @twl4030_shutdown
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x8]
	ldr	x10, [x9, #8]
	cmp	x10, x0
	b.eq	LBB0_2
; %bb.1:
	str	xzr, [x9, #16]
	cbnz	x10, LBB0_3
	b	LBB0_4
LBB0_2:
	ldr	x10, [x9, #16]
	str	x10, [x9, #8]
	str	xzr, [x9, #16]
	cbz	x10, LBB0_4
LBB0_3:
	ldr	x10, [x10, #8]
	ldr	w10, [x10]
	cbnz	w10, LBB0_5
LBB0_4:
	str	xzr, [x9]
LBB0_5:
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
	cmp	w9, #4
	b.ne	LBB0_7
; %bb.6:
	ldr	w1, [x0]
	mov	x0, x8
	mov	w2, #0
	b	_twl4030_tdm_enable
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_twl4030_shutdown
.subsections_via_symbols
