	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_nsap_addr                 ## -- Begin function inet_nsap_addr
	.p2align	4, 0x90
_inet_nsap_addr:                        ## @inet_nsap_addr
	.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
	cmpb	$48, (%rdi)
	jne	LBB0_18
## %bb.1:
	movq	%rdi, %r14
	movb	1(%rdi), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_18
## %bb.2:
	movb	2(%r14), %bl
	xorl	%r15d, %r15d
	testb	%bl, %bl
	je	LBB0_19
## %bb.3:
	testl	%edx, %edx
	jle	LBB0_19
## %bb.4:
	leaq	2(%r14), %r12
	movslq	%edx, %rcx
	movabsq	$219902325555200, %r13          ## imm = 0xC80000000000
	xorl	%r15d, %r15d
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	addq	$3, %r14
	movq	%r14, %rax
	movq	%r12, %r14
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %r12
	cmpb	$47, %bl
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movzbl	%bl, %eax
	btq	%rax, %r13
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	1(%r12), %rax
	movzbl	(%r12), %ebx
	movq	%r12, %r14
	testb	%bl, %bl
	jne	LBB0_6
	jmp	LBB0_19
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movsbl	%bl, %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_isascii
	testl	%eax, %eax
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_islower
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_toupper
	movl	%eax, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%bl, %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_xtob
	movb	(%r12), %cl
	testb	%cl, %cl
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	%al, -44(%rbp)                  ## 1-byte Spill
	movsbl	%cl, %edi
	callq	_toupper
	movsbl	%al, %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	2(%r14), %r12
	shlb	$4, -44(%rbp)                   ## 1-byte Folded Spill
	movl	%ebx, %edi
	callq	_xtob
	orb	-44(%rbp), %al                  ## 1-byte Folded Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movb	%al, (%rsi)
	incq	%r15
	movb	(%r12), %bl
	testb	%bl, %bl
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %r15
	jl	LBB0_5
	jmp	LBB0_19
LBB0_18:
	xorl	%r15d, %r15d
LBB0_19:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_nsap_addr                 ; -- Begin function inet_nsap_addr
	.p2align	2
_inet_nsap_addr:                        ; @inet_nsap_addr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w2 killed $w2 def $x2
	ldrb	w8, [x0]
	cmp	w8, #48
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0, #1]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_3
; %bb.2:
	mov	x27, x21
	ldrb	w22, [x27, #2]!
	cmp	w22, #0
	ccmp	w2, #1, #8, ne
	b.ge	LBB0_5
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x20, x1
	mov	x19, #0
	sxtw	x24, w2
	mov	w25, #1
	mov	x26, #219902325555200
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x8, x21, #3
	mov	x21, x27
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x27, x8
	and	w8, w22, #0xff
	cmp	w8, #47
	b.hi	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	and	x8, x22, #0xff
	lsl	x8, x25, x8
	tst	x8, x26
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x8, x27
	ldrb	w22, [x8], #1
	mov	x21, x27
	cbnz	w22, LBB0_7
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtb	w23, w22
	mov	x0, x23
	bl	_isascii
	cbz	w0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_islower
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_toupper
	mov	x22, x0
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtb	w22, w22
	mov	x0, x22
	bl	_isxdigit
	cbz	x0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_xtob
	ldrb	w8, [x27]
	cbz	w8, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	sxtb	w0, w8
	bl	_toupper
	mov	x23, x0
	bl	_isxdigit
	cbz	x0, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x21, #2
	mov	x0, x23
	bl	_xtob
	orr	w8, w0, w22, lsl #4
	strb	w8, [x20], #1
	add	x19, x19, #1
	ldrb	w22, [x27]
	cbz	w22, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x19, x24
	b.lt	LBB0_6
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
