	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __write_ctrl_pciv2
___write_ctrl_pciv2:                    ## @__write_ctrl_pciv2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	cmpl	$2, %edx
	jne	LBB0_1
## %bb.2:
	movq	_AVM_HDLC_STATUS_2@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_AVM_HDLC_STATUS_1@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rsi
	addq	(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_outl                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AVM_HDLC_STATUS_2,8,3          ## @AVM_HDLC_STATUS_2
	.comm	_AVM_HDLC_STATUS_1,8,3          ## @AVM_HDLC_STATUS_1
	.no_dead_strip	___write_ctrl_pciv2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __write_ctrl_pciv2
___write_ctrl_pciv2:                    ; @__write_ctrl_pciv2
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _AVM_HDLC_STATUS_2@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AVM_HDLC_STATUS_2@GOTPAGEOFF]
Lloh2:
	adrp	x11, _AVM_HDLC_STATUS_1@GOTPAGE
Lloh3:
	ldr	x11, [x11, _AVM_HDLC_STATUS_1@GOTPAGEOFF]
	cmp	w2, #2
	csel	x10, x10, x11, eq
	ldr	x10, [x10]
	add	x1, x10, x9
	mov	x0, x8
	b	_outl
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AVM_HDLC_STATUS_2,8,3          ; @AVM_HDLC_STATUS_2
	.comm	_AVM_HDLC_STATUS_1,8,3          ; @AVM_HDLC_STATUS_1
	.no_dead_strip	___write_ctrl_pciv2
.subsections_via_symbols
