	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __set_rdc_table_num
___set_rdc_table_num:                   ## @__set_rdc_table_num
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_HOST_INFO_MACRDCTBLN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%ecx, %eax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movl	%r8d, %r14d
	movl	%ecx, %ebx
	movq	%rdi, %r15
	movq	_NIU_FLAGS_XMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.3:
	movl	%esi, %edi
	callq	_XMAC_HOST_INFO
	jmp	LBB0_5
LBB0_4:
	movl	%edx, %edi
	callq	_BMAC_HOST_INFO
LBB0_5:
	movq	%rax, %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	___set_rdc_table_num_hw
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_INFO_MACRDCTBLN,4,2       ## @HOST_INFO_MACRDCTBLN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NIU_FLAGS_XMAC,4,2             ## @NIU_FLAGS_XMAC
	.no_dead_strip	___set_rdc_table_num
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __set_rdc_table_num
___set_rdc_table_num:                   ; @__set_rdc_table_num
	.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
Lloh0:
	adrp	x8, _HOST_INFO_MACRDCTBLN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_INFO_MACRDCTBLN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bics	wzr, w3, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x0
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _NIU_FLAGS_XMAC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NIU_FLAGS_XMAC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x1
	bl	_XMAC_HOST_INFO
	b	LBB0_5
LBB0_4:
	mov	x0, x2
	bl	_BMAC_HOST_INFO
LBB0_5:
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	___set_rdc_table_num_hw
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_INFO_MACRDCTBLN,4,2       ; @HOST_INFO_MACRDCTBLN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NIU_FLAGS_XMAC,4,2             ; @NIU_FLAGS_XMAC
	.no_dead_strip	___set_rdc_table_num
.subsections_via_symbols
