	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcbit_writew
_pcbit_writew:                          ## @pcbit_writew
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	_BANKLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rdi), %esi
	subl	%esi, %ecx
	addl	4(%rdi), %ecx
	cmpl	$1, %ecx
	je	LBB0_3
## %bb.1:
	movzwl	%ax, %edi
	cmpl	$2, %ecx
	jne	LBB0_4
## %bb.2:
	callq	_writew
	movl	4(%rbx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_5
LBB0_3:
	movzwl	%ax, %r14d
	movzbl	%r14b, %edi
	callq	_writeb
	movl	4(%rbx), %esi
	shrl	$8, %r14d
	leal	1(%rsi), %eax
	movl	%eax, (%rbx)
	movl	%r14d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writeb                         ## TAILCALL
LBB0_4:
	callq	_writew
	addl	$2, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BANKLEN,4,2                    ## @BANKLEN
	.no_dead_strip	_pcbit_writew
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcbit_writew
_pcbit_writew:                          ; @pcbit_writew
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BANKLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BANKLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w1, w9, [x0]
	sub	w8, w8, w1
	add	w8, w8, w9
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	cmp	w8, #2
	b.ne	LBB0_4
; %bb.2:
	bl	_writew
	ldr	w8, [x19, #4]
	b	LBB0_5
LBB0_3:
	and	w0, w20, #0xff
	bl	_writeb
	ldr	w1, [x19, #4]
	lsr	w0, w20, #8
	add	w8, w1, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writeb
LBB0_4:
	bl	_writew
	ldr	w8, [x19]
	add	w8, w8, #2
LBB0_5:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BANKLEN,4,2                    ; @BANKLEN
	.no_dead_strip	_pcbit_writew
.subsections_via_symbols
