	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tr_bank_write
_tr_bank_write:                         ## @tr_bank_write
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movl	$7, %r14d
	cmpl	$128, %edi
	jl	LBB0_3
## %bb.1:
	movq	_hostreg_r@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	%ebx, %ecx
	andl	$384, %ecx                      ## imm = 0x180
	leal	(%rcx,%rcx), %r12d
	addl	$1048576, %r12d                 ## imm = 0x100000
	movl	$1, %r14d
	cmpl	%r12d, 4(%rax)
	je	LBB0_3
## %bb.2:
	shrl	%ecx
	movl	$1, %r14d
	movl	$1, %edi
	movl	$7, %esi
	movl	$15, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_EOP_ADD_IMM
	movq	(%r15), %rax
	movl	%r12d, 4(%rax)
LBB0_3:
	addl	%ebx, %ebx
	movzbl	%bl, %edx
	xorl	%edi, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EOP_STRH_IMM                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hostreg_r,8,3                  ## @hostreg_r
	.no_dead_strip	_tr_bank_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tr_bank_write
_tr_bank_write:                         ; @tr_bank_write
	.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
	mov	x19, x0
	cmp	w0, #128
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x21, _hostreg_r@GOTPAGE
Lloh1:
	ldr	x21, [x21, _hostreg_r@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w9, [x8, #4]
	and	w8, w19, #0x180
	lsr	w10, w8, #7
	mov	w22, #1048576
	bfi	w22, w10, #8, #2
	cmp	w9, w22
	b.ne	LBB0_4
; %bb.2:
	mov	w20, #1
	b	LBB0_5
LBB0_3:
	mov	w20, #7
	b	LBB0_5
LBB0_4:
	lsr	w3, w8, #1
	mov	w20, #1
	mov	w0, #1
	mov	w1, #7
	mov	w2, #15
	bl	_EOP_ADD_IMM
	ldr	x8, [x21]
	str	w22, [x8, #4]
LBB0_5:
	ubfiz	w2, w19, #1, #7
	mov	w0, #0
	mov	x1, x20
	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
	b	_EOP_STRH_IMM
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_hostreg_r,8,3                  ; @hostreg_r
	.no_dead_strip	_tr_bank_write
.subsections_via_symbols
