	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_set_sec_dev_types          ## -- Begin function p2p_set_sec_dev_types
	.p2align	4, 0x90
_p2p_set_sec_dev_types:                 ## @p2p_set_sec_dev_types
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_P2P_SEC_DEVICE_TYPES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdx, %rax
	cmovbq	%rax, %rdx
	movq	(%rdi), %rax
	movq	%rdx, (%rax)
	movl	8(%rax), %edi
	shlq	$3, %rdx
	callq	_os_memcpy
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_SEC_DEVICE_TYPES,8,3       ## @P2P_SEC_DEVICE_TYPES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_set_sec_dev_types          ; -- Begin function p2p_set_sec_dev_types
	.p2align	2
_p2p_set_sec_dev_types:                 ; @p2p_set_sec_dev_types
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _P2P_SEC_DEVICE_TYPES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P2P_SEC_DEVICE_TYPES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	csel	x8, x8, x2, lo
	ldr	x9, [x0]
	str	x8, [x9]
	ldr	w0, [x9, #8]
	lsl	x2, x8, #3
	bl	_os_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_SEC_DEVICE_TYPES,8,3       ; @P2P_SEC_DEVICE_TYPES
.subsections_via_symbols
