	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function com20020_set_subaddress
_com20020_set_subaddress:               ## @com20020_set_subaddress
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	cmpl	$3, %edx
	jg	LBB0_1
## %bb.2:
	movl	(%rdi), %ecx
	andl	$-4, %ecx
	orl	%ecx, %eax
	movl	%eax, (%rdi)
	movq	_COM20020_REG_W_CONFIG@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_COM20020_REG_W_SUBADR@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edx
	movl	%eax, %edi
	popq	%rbp
	jmp	_arcnet_outb                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COM20020_REG_W_CONFIG,4,2      ## @COM20020_REG_W_CONFIG
	.comm	_COM20020_REG_W_SUBADR,4,2      ## @COM20020_REG_W_SUBADR
	.no_dead_strip	_com20020_set_subaddress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function com20020_set_subaddress
_com20020_set_subaddress:               ; @com20020_set_subaddress
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	cmp	w2, #3
	b.gt	LBB0_2
; %bb.1:
	ldr	w9, [x0]
	and	w9, w9, #0xfffffffc
	orr	w8, w9, w8
	str	w8, [x0]
Lloh0:
	adrp	x9, _COM20020_REG_W_CONFIG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COM20020_REG_W_CONFIG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x9, _COM20020_REG_W_SUBADR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _COM20020_REG_W_SUBADR@GOTPAGEOFF]
LBB0_3:
	ldr	w2, [x9]
	mov	x0, x8
	b	_arcnet_outb
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_COM20020_REG_W_CONFIG,4,2      ; @COM20020_REG_W_CONFIG
	.comm	_COM20020_REG_W_SUBADR,4,2      ; @COM20020_REG_W_SUBADR
	.no_dead_strip	_com20020_set_subaddress
.subsections_via_symbols
