	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ims_pcu_set_info
_ims_pcu_set_info:                      ## @ims_pcu_set_info
	.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
	movq	_IMS_PCU_INFO_PART_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	movl	24(%rbx), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_IMS_PCU_INFO_DOM_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	movl	20(%rbx), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_IMS_PCU_INFO_SERIAL_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_SET_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IMS_PCU_DATA_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	shlq	$2, %rdx
	addq	8(%rbx), %rdx
	movq	_IMS_PCU_SET_INFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_ims_pcu_execute_command
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_err
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMS_PCU_INFO_PART_OFFSET,8,3   ## @IMS_PCU_INFO_PART_OFFSET
	.comm	_IMS_PCU_INFO_DOM_OFFSET,8,3    ## @IMS_PCU_INFO_DOM_OFFSET
	.comm	_IMS_PCU_INFO_SERIAL_OFFSET,8,3 ## @IMS_PCU_INFO_SERIAL_OFFSET
	.comm	_SET_INFO,4,2                   ## @SET_INFO
	.comm	_IMS_PCU_DATA_OFFSET,8,3        ## @IMS_PCU_DATA_OFFSET
	.comm	_IMS_PCU_SET_INFO_SIZE,4,2      ## @IMS_PCU_SET_INFO_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to update device information, error: %d\n"

	.no_dead_strip	_ims_pcu_set_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ims_pcu_set_info
_ims_pcu_set_info:                      ; @ims_pcu_set_info
	.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	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _IMS_PCU_INFO_PART_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMS_PCU_INFO_PART_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x19, #24]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _IMS_PCU_INFO_DOM_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IMS_PCU_INFO_DOM_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x19, #20]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _IMS_PCU_INFO_SERIAL_OFFSET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IMS_PCU_INFO_SERIAL_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x19, #16]
	mov	w2, #4
	bl	_memcpy
Lloh9:
	adrp	x8, _SET_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SET_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _IMS_PCU_DATA_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IMS_PCU_DATA_OFFSET@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh14:
	ldr	x8, [x8]
	add	x2, x9, x8, lsl #2
Lloh15:
	adrp	x8, _IMS_PCU_SET_INFO_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IMS_PCU_SET_INFO_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ims_pcu_execute_command
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IMS_PCU_INFO_PART_OFFSET,8,3   ; @IMS_PCU_INFO_PART_OFFSET
	.comm	_IMS_PCU_INFO_DOM_OFFSET,8,3    ; @IMS_PCU_INFO_DOM_OFFSET
	.comm	_IMS_PCU_INFO_SERIAL_OFFSET,8,3 ; @IMS_PCU_INFO_SERIAL_OFFSET
	.comm	_SET_INFO,4,2                   ; @SET_INFO
	.comm	_IMS_PCU_DATA_OFFSET,8,3        ; @IMS_PCU_DATA_OFFSET
	.comm	_IMS_PCU_SET_INFO_SIZE,4,2      ; @IMS_PCU_SET_INFO_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to update device information, error: %d\n"

	.no_dead_strip	_ims_pcu_set_info
.subsections_via_symbols
