	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gb_custom_daa
_gb_custom_daa:                         ## @gb_custom_daa
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.3:
	movq	%r14, %rdi
	callq	_r_anal_esil_pop
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r15
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_r_anal_esil_get_parm
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movq	%r15, %rdi
	callq	_R_FREE
	movl	-48(%rbp), %ebx
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_r_anal_esil_reg_read
	movl	-48(%rbp), %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_r_anal_esil_reg_read
	movl	-48(%rbp), %r13d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_r_anal_esil_reg_read
	cmpq	$0, -48(%rbp)
	je	LBB0_8
## %bb.6:
	leal	160(%rbx), %eax
	testl	%r13d, %r13d
	movzbl	%al, %esi
	cmovel	%ebx, %esi
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.7:
	addl	$250, %esi
	movzbl	%sil, %esi
	jmp	LBB0_9
LBB0_8:
	leal	96(%rbx), %eax
	cmpl	$154, %ebx
	movzbl	%al, %eax
	cmovgel	%eax, %ebx
	testl	%r13d, %r13d
	cmovnel	%eax, %ebx
	movl	%ebx, %eax
	andl	$14, %eax
	leal	6(%rbx), %ecx
	cmpl	$10, %eax
	cmovael	%ecx, %ebx
	testl	%r12d, %r12d
	cmovnel	%ecx, %ebx
	movl	%ebx, %esi
LBB0_9:
	movq	%r14, %rdi
	callq	_r_anal_esil_pushnum
	movl	%eax, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %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	"H"

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

L_.str.2:                               ## @.str.2
	.asciz	"N"

	.no_dead_strip	_gb_custom_daa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gb_custom_daa
_gb_custom_daa:                         ; @gb_custom_daa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_r_anal_esil_pop
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_r_anal_esil_get_parm
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_R_FREE
	ldr	w20, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_r_anal_esil_reg_read
	ldr	w21, [sp, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_r_anal_esil_reg_read
	ldr	w22, [sp, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_r_anal_esil_reg_read
	ldr	x8, [sp, #8]
	cmp	w20, #153
	ccmp	w22, #0, #0, le
	add	w9, w20, #96
	and	w9, w9, #0xff
	csel	w9, w9, w20, ne
	and	w10, w9, #0xe
	cmp	w10, #9
	ccmp	w21, #0, #0, ls
	add	w10, w9, #6
	csel	w9, w10, w9, ne
	add	w10, w20, #160
	and	w10, w10, #0xff
	cmp	w22, #0
	csel	w10, w20, w10, eq
	add	w11, w10, #250
	and	w11, w11, #0xff
	cmp	w21, #0
	csel	w10, w10, w11, eq
	cmp	x8, #0
	csel	w1, w9, w10, eq
	mov	x0, x19
	bl	_r_anal_esil_pushnum
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"H"

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

l_.str.2:                               ; @.str.2
	.asciz	"N"

	.no_dead_strip	_gb_custom_daa
.subsections_via_symbols
