	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc_ich_finalize_wdt_cell
_lpc_ich_finalize_wdt_cell:             ## @lpc_ich_finalize_wdt_cell
	.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	_pci_get_drvdata
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_lpc_chipset_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	4(%rax,%rcx,8), %edx
	movl	%edx, 4(%rbx)
	movl	(%rbx), %edi
	movl	(%rax,%rcx,8), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_lpc_ich_wdt_cell@GOTPCREL(%rip), %rax
	movq	%rbx, 8(%rax)
	movl	$8, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lpc_ich_wdt_cell,16,3          ## @lpc_ich_wdt_cell
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lpc_chipset_info,8,3           ## @lpc_chipset_info
	.no_dead_strip	_lpc_ich_finalize_wdt_cell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc_ich_finalize_wdt_cell
_lpc_ich_finalize_wdt_cell:             ; @lpc_ich_finalize_wdt_cell
	.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	_pci_get_drvdata
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w21, #8
	mov	x0, x19
	mov	w1, #8
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _lpc_chipset_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lpc_chipset_info@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #3
	ldp	w1, w9, [x8]
	str	w9, [x0, #4]
	ldr	w0, [x0]
	mov	w2, #4
	bl	_strlcpy
	mov	w0, #0
Lloh6:
	adrp	x8, _lpc_ich_wdt_cell@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lpc_ich_wdt_cell@GOTPAGEOFF]
	str	x19, [x8, #8]
	str	w21, [x8]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_lpc_ich_wdt_cell,16,3          ; @lpc_ich_wdt_cell
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lpc_chipset_info,8,3           ; @lpc_chipset_info
	.no_dead_strip	_lpc_ich_finalize_wdt_cell
.subsections_via_symbols
