	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_dict_extract_rational       ## -- Begin function hb_dict_extract_rational
	.p2align	4, 0x90
_hb_dict_extract_rational:              ## @hb_dict_extract_rational
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.3:
	movq	%rdi, %r12
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_hb_dict_get
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hb_dict_get
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hb_dict_get
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_hb_value_get_int
	movl	%eax, (%r12)
	movq	%rbx, %rdi
	callq	_hb_value_get_int
	movl	%eax, 4(%r12)
	movl	$1, %r14d
	jmp	LBB0_17
LBB0_8:
	movq	%rbx, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.9:
	movq	%rbx, %rdi
	callq	_hb_value_get_string
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_hb_str_vsplit
	movq	%rax, %r15
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	cmpq	$0, 8(%r15)
	je	LBB0_16
## %bb.11:
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movq	8(%r15), %rax
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	(%r15), %rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	leaq	-40(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_16
## %bb.14:
	movq	-40(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	callq	_hb_str_vfree
LBB0_17:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	%ebx, (%r12)
	movl	%eax, 4(%r12)
	movq	%r15, %rdi
	callq	_hb_str_vfree
	movl	$1, %r14d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_VALUE_TYPE_DICT,8,3         ## @HB_VALUE_TYPE_DICT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Num"

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

	.comm	_HB_VALUE_TYPE_STRING,8,3       ## @HB_VALUE_TYPE_STRING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_dict_extract_rational       ; -- Begin function hb_dict_extract_rational
	.p2align	2
_hb_dict_extract_rational:              ; @hb_dict_extract_rational
	.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
	mov	x19, x0
	mov	w0, #0
	cbz	x19, LBB0_17
; %bb.1:
	cbz	x1, LBB0_17
; %bb.2:
	cbz	x2, LBB0_17
; %bb.3:
	mov	x0, x1
	mov	x1, x2
	bl	_hb_dict_get
	cbz	x0, LBB0_17
; %bb.4:
	mov	x20, x0
	bl	_hb_value_type
Lloh0:
	adrp	x8, _HB_VALUE_TYPE_DICT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HB_VALUE_TYPE_DICT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	cbz	x0, LBB0_17
; %bb.6:
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_get
	cbz	x0, LBB0_17
; %bb.7:
	mov	x20, x0
	mov	x0, x21
	bl	_hb_value_get_int
	str	w0, [x19]
	mov	x0, x20
	bl	_hb_value_get_int
	str	w0, [x19, #4]
	mov	w0, #1
	b	LBB0_17
LBB0_8:
	mov	x0, x20
	bl	_hb_value_type
Lloh7:
	adrp	x8, _HB_VALUE_TYPE_STRING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HB_VALUE_TYPE_STRING@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.9:
	mov	x0, x20
	bl	_hb_value_get_string
	mov	w1, #47
	bl	_hb_str_vsplit
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_15
; %bb.10:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_15
; %bb.11:
	ldrsb	w0, [x8]
	bl	_isdigit
	cbz	x0, LBB0_15
; %bb.12:
	ldr	x8, [x20, #8]
	ldrsb	w0, [x8]
	bl	_isdigit
	cbz	x0, LBB0_15
; %bb.13:
	ldr	x0, [x20]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	mov	x21, x0
	ldr	x0, [x20, #8]
	mov	x1, sp
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_15
; %bb.14:
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbz	w8, LBB0_18
LBB0_15:
	mov	x0, x20
	bl	_hb_str_vfree
LBB0_16:
	mov	w0, #0
LBB0_17:
	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
LBB0_18:
	stp	w21, w0, [x19]
	mov	x0, x20
	bl	_hb_str_vfree
	mov	w0, #1
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_VALUE_TYPE_DICT,8,3         ; @HB_VALUE_TYPE_DICT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Num"

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

	.comm	_HB_VALUE_TYPE_STRING,8,3       ; @HB_VALUE_TYPE_STRING
.subsections_via_symbols
