	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_api_config                 ## -- Begin function set_api_config
	.p2align	4, 0x90
_set_api_config:                        ## @set_api_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_V_numvifs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jg	LBB0_1
## %bb.2:
	movq	_V_pim_assert_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
LBB0_1:
	movl	$0, (%r14)
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_MFC_LOCK
	movq	_mfchashsize@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	movq	_V_mfchashtbl@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	addq	$4, %rbx
	movq	_mfchashsize@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jb	LBB0_6
LBB0_8:
	xorl	%eax, %eax
	callq	_MFC_UNLOCK
	movq	_mrt_api_support@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	movq	_V_mrt_api_config@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%eax, (%r14)
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	callq	_MFC_UNLOCK
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_V_numvifs,8,3                  ## @V_numvifs
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_V_pim_assert_enabled,8,3       ## @V_pim_assert_enabled
	.comm	_mfchashsize,8,3                ## @mfchashsize
	.comm	_V_mfchashtbl,8,3               ## @V_mfchashtbl
	.comm	_mrt_api_support,4,2            ## @mrt_api_support
	.comm	_V_mrt_api_config,4,2           ## @V_mrt_api_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_api_config                 ; -- Begin function set_api_config
	.p2align	2
_set_api_config:                        ; @set_api_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _V_numvifs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_numvifs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #1
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _V_pim_assert_enabled@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_pim_assert_enabled@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
LBB0_2:
	str	wzr, [x19]
Lloh6:
	adrp	x8, _EPERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_MFC_LOCK
Lloh9:
	adrp	x20, _mfchashsize@GOTPAGE
Lloh10:
	ldr	x20, [x20, _mfchashsize@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.5:
	mov	x21, #0
	mov	x22, #0
Lloh11:
	adrp	x23, _V_mfchashtbl@GOTPAGE
Lloh12:
	ldr	x23, [x23, _V_mfchashtbl@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x8, x21
	bl	_LIST_FIRST
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldr	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_6
LBB0_8:
	bl	_MFC_UNLOCK
	mov	w0, #0
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _mrt_api_support@GOTPAGE
Lloh14:
	ldr	x9, [x9, _mrt_api_support@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh16:
	adrp	x9, _V_mrt_api_config@GOTPAGE
Lloh17:
	ldr	x9, [x9, _V_mrt_api_config@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	str	w8, [x19]
	b	LBB0_3
LBB0_9:
	bl	_MFC_UNLOCK
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_V_numvifs,8,3                  ; @V_numvifs
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_V_pim_assert_enabled,8,3       ; @V_pim_assert_enabled
	.comm	_mfchashsize,8,3                ; @mfchashsize
	.comm	_V_mfchashtbl,8,3               ; @V_mfchashtbl
	.comm	_mrt_api_support,4,2            ; @mrt_api_support
	.comm	_V_mrt_api_config,4,2           ; @V_mrt_api_config
.subsections_via_symbols
