	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8366s_setCPUPortMask        ## -- Begin function rtl8366s_setCPUPortMask
	.p2align	4, 0x90
_rtl8366s_setCPUPortMask:               ## @rtl8366s_setCPUPortMask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$6, %edi
	jl	LBB0_2
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %edx
	movl	%edi, %esi
	movq	_RTL8366S_CPU_CTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_rtl8366_setRegisterBit         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL8366S_CPU_CTRL_REG,4,2      ## @RTL8366S_CPU_CTRL_REG
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"rtl8366s_setCPUPortMask: invalid port number"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8366s_setCPUPortMask        ; -- Begin function rtl8366s_setCPUPortMask
	.p2align	2
_rtl8366s_setCPUPortMask:               ; @rtl8366s_setCPUPortMask
	.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
	cmp	w0, #6
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x2, x1
	mov	x1, x0
Lloh2:
	adrp	x8, _RTL8366S_CPU_CTRL_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RTL8366S_CPU_CTRL_REG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_rtl8366_setRegisterBit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL8366S_CPU_CTRL_REG,4,2      ; @RTL8366S_CPU_CTRL_REG
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"rtl8366s_setCPUPortMask: invalid port number"

.subsections_via_symbols
