	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_octet                     ## -- Begin function ldns_octet
	.p2align	4, 0x90
_ldns_octet:                            ## @ldns_octet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	$0, (%rsi)
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_18
## %bb.1:
	movq	_LDNS_STATUS_DDD_OVERFLOW@GOTPCREL(%rip), %r9
	movq	_LDNS_STATUS_EMPTY_LABEL@GOTPCREL(%rip), %r8
	movq	%rdi, %rdx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdx
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movb	%cl, (%rdi)
	incq	(%rsi)
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	movzbl	1(%rdx), %ecx
	incq	%rdx
	testb	%cl, %cl
	je	LBB0_18
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%cl, %eax
	cmpl	$34, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$92, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$46, %eax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$46, 1(%rdx)
	jne	LBB0_3
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%rdx), %eax
	movb	%al, (%rdi)
	incq	(%rsi)
	cmpb	$0, 1(%rdx)
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rdx), %rbx
	movzbl	1(%rdx), %ecx
	leal	-48(%rcx), %eax
	cmpb	$9, %al
	ja	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	2(%rdx), %r10d
	leal	-48(%r10), %eax
	cmpb	$9, %al
	ja	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movzbl	3(%rdx), %r11d
	leal	-48(%r11), %eax
	cmpb	$9, %al
	ja	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%cl, %eax
	imull	$100, %eax, %eax
	leal	(%r10,%r10,4), %ecx
	leal	(%rax,%rcx,2), %ecx
	addl	%r11d, %ecx
	cmpl	$5583, %ecx                     ## imm = 0x15CF
	jg	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$3, %rdx
	addb	$48, %cl
	jmp	LBB0_3
LBB0_18:
	movb	$0, (%rdi)
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %r9
LBB0_19:
	movl	(%r9), %eax
	popq	%rbx
	popq	%rbp
	retq
LBB0_20:
	movq	%r8, %r9
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_EMPTY_LABEL,4,2    ## @LDNS_STATUS_EMPTY_LABEL
	.comm	_LDNS_STATUS_DDD_OVERFLOW,4,2   ## @LDNS_STATUS_DDD_OVERFLOW
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_octet                     ; -- Begin function ldns_octet
	.p2align	2
_ldns_octet:                            ; @ldns_octet
	.cfi_startproc
; %bb.0:
	str	xzr, [x1]
	ldrb	w13, [x0]
	cbz	w13, LBB0_15
; %bb.1:
	mov	w10, #100
	mov	w11, #10
Lloh0:
	adrp	x9, _LDNS_STATUS_DDD_OVERFLOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_STATUS_DDD_OVERFLOW@GOTPAGEOFF]
	mov	w12, #5583
Lloh2:
	adrp	x8, _LDNS_STATUS_EMPTY_LABEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LDNS_STATUS_EMPTY_LABEL@GOTPAGEOFF]
	mov	x14, x0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x14, x15
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	strb	w13, [x0]
	ldr	x13, [x1]
	add	x13, x13, #1
	str	x13, [x1]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w13, [x14, #1]!
	add	x0, x0, #1
	cbz	w13, LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	and	w15, w13, #0xff
	cmp	w15, #34
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtb	w15, w13
	cmp	w15, #92
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w15, #46
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w15, [x14, #1]
	cmp	w15, #46
	b.ne	LBB0_3
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w13, [x14, #1]!
	strb	w13, [x0]
	ldr	x13, [x1]
	add	x13, x13, #1
	str	x13, [x1]
	ldrb	w13, [x14]
	cbnz	w13, LBB0_4
	b	LBB0_15
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x15, x14
	ldrsb	w16, [x15, #1]!
	and	w13, w16, #0xff
	sub	w17, w16, #48
	cmp	w17, #9
	b.hi	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w2, [x14, #2]
	sub	w17, w2, #48
	cmp	w17, #9
	b.hi	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x17, x14
	ldrb	w3, [x17, #3]!
	sub	w4, w3, #48
	mov	x14, x15
	cmp	w4, #9
	b.hi	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mul	w13, w16, w10
	madd	w13, w2, w11, w13
	add	w13, w13, w3
	cmp	w13, w12
	b.gt	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w13, w13, #48
	mov	x14, x17
	b	LBB0_3
LBB0_15:
	strb	wzr, [x0]
Lloh4:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	ret
LBB0_17:
	ldr	w0, [x9]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_EMPTY_LABEL,4,2    ; @LDNS_STATUS_EMPTY_LABEL
	.comm	_LDNS_STATUS_DDD_OVERFLOW,4,2   ; @LDNS_STATUS_DDD_OVERFLOW
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
.subsections_via_symbols
