	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vpd_set_size
_pci_vpd_set_size:                      ## @pci_vpd_set_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	_PCI_VPD_MAX_SIZE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jb	LBB0_2
## %bb.3:
	movq	(%rdi), %rax
	movl	$1, (%rax)
	movq	%rsi, 8(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VPD_MAX_SIZE,8,3           ## @PCI_VPD_MAX_SIZE
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_pci_vpd_set_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vpd_set_size
_pci_vpd_set_size:                      ; @pci_vpd_set_size
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _PCI_VPD_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_VPD_MAX_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x1
	b.lo	LBB0_3
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8]
	str	x1, [x8, #8]
	ret
LBB0_3:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VPD_MAX_SIZE,8,3           ; @PCI_VPD_MAX_SIZE
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_pci_vpd_set_size
.subsections_via_symbols
