	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esilbreak_reg_write
_esilbreak_reg_write:                   ## @esilbreak_reg_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.1:
	movq	%rdx, %r12
	movq	%rdi, %r13
	movq	16(%rdi), %r15
	movq	8(%r15), %r14
	movl	(%rdx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 32(%r15)
	je	LBB0_16
## %bb.2:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.4:
	cmpl	$32, (%r15)
	jg	LBB0_16
## %bb.5:
	movq	%rsi, %rbx
	movq	8(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_16
## %bb.9:
	movl	(%r12), %esi
	testb	$1, %sil
	jne	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movl	$32, %edx
	jmp	LBB0_15
LBB0_11:
	movl	20(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_r_reg_getv
	movq	_UT32_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_16
## %bb.12:
	movq	_UT64_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_16
## %bb.13:
	movl	16(%r15), %edi
	movl	(%r12), %esi
	movl	$1, %edx
	callq	_r_io_is_valid_offset
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movl	(%r12), %esi
	decl	%esi
	movq	%r15, %rdi
	movl	$16, %edx
LBB0_15:
	callq	_r_anal_hint_set_bits
LBB0_16:
	movq	(%r14), %rax
	cmpl	$32, (%rax)
	jne	LBB0_21
## %bb.17:
	movq	8(%rax), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	andl	$1, %eax
	jne	LBB0_21
## %bb.19:
	movl	16(%r15), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_r_io_is_valid_offset
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	8(%r15), %rdi
	movl	(%r13), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_add_string_ref
LBB0_21:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"arm"

L_.str.1:                               ## @.str.1
	.asciz	"pc"

	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_UT64_MAX,4,2                   ## @UT64_MAX
	.no_dead_strip	_esilbreak_reg_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esilbreak_reg_write
_esilbreak_reg_write:                   ; @esilbreak_reg_write
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_20
; %bb.1:
	mov	x22, x2
	mov	x19, x0
	ldr	x21, [x0, #16]
	ldr	x24, [x21, #8]
	ldr	w20, [x2]
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_16
; %bb.2:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_16
; %bb.3:
	ldr	x0, [x8]
	cbz	x0, LBB0_16
; %bb.4:
	ldr	w8, [x21]
	cmp	w8, #32
	b.gt	LBB0_16
; %bb.5:
	mov	x23, x1
	ldr	x25, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_16
; %bb.6:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbnz	w0, LBB0_16
; %bb.7:
	cbz	x25, LBB0_16
; %bb.8:
	ldr	w8, [x25]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_16
; %bb.9:
	ldr	w1, [x22]
	tbnz	w1, #0, LBB0_11
; %bb.10:
	mov	x0, x21
	mov	w2, #32
	b	LBB0_15
LBB0_11:
	ldr	w0, [x21, #20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_r_reg_getv
Lloh6:
	adrp	x8, _UT32_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UT32_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.12:
Lloh9:
	adrp	x8, _UT64_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UT64_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.13:
	ldr	w0, [x21, #16]
	ldr	w1, [x22]
	mov	w2, #1
	bl	_r_io_is_valid_offset
	cbz	x0, LBB0_16
; %bb.14:
	ldr	w8, [x22]
	sub	w1, w8, #1
	mov	x0, x21
	mov	w2, #16
LBB0_15:
	bl	_r_anal_hint_set_bits
LBB0_16:
	ldr	x8, [x24]
	ldr	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_20
; %bb.17:
	ldr	x8, [x8, #8]
	ldr	x0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	and	w8, w20, #0x1
	cmp	x0, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_20
; %bb.18:
	ldr	w0, [x21, #16]
	mov	x1, x20
	mov	w2, #0
	bl	_r_io_is_valid_offset
	cbz	x0, LBB0_20
; %bb.19:
	ldr	x0, [x21, #8]
	ldr	w1, [x19]
	mov	x2, x20
	bl	_add_string_ref
LBB0_20:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"arm"

l_.str.1:                               ; @.str.1
	.asciz	"pc"

	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_UT64_MAX,4,2                   ; @UT64_MAX
	.no_dead_strip	_esilbreak_reg_write
.subsections_via_symbols
