	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_parse_in
_srp_parse_in:                          ## @srp_parse_in
	.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
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_kstrdup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strrchr
	testq	%rax, %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$93, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
LBB0_5:
	xorl	%r13d, %r13d
	testq	%r12, %r12
	je	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	testq	%r13, %r13
	setne	%al
	movl	%eax, (%r12)
LBB0_7:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %r12
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_inet_pton_with_scope
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movl	%eax, %ebx
	cmpb	$0, (%r14)
	je	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	callq	_strlen
	cmpb	$91, (%r14)
	jne	LBB0_13
## %bb.10:
	cltq
	cmpb	$93, -1(%r14,%rax)
	jne	LBB0_13
## %bb.11:
	movb	$0, -1(%r14,%rax)
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	incq	%rdx
	movq	%r12, %rdi
	movq	%r13, %rcx
	movq	%r15, %r8
	callq	_inet_pton_with_scope
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r14, %rdi
	callq	_kfree
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_pr_debug
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rbx, %r13
	incq	%r13
	movb	$0, (%rbx)
	testq	%r12, %r12
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s -> %pISpfsc\n"

	.no_dead_strip	_srp_parse_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srp_parse_in
_srp_parse_in:                          ; @srp_parse_in
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_kstrdup
	cbz	x0, LBB0_12
; %bb.1:
	mov	x21, x0
	mov	w1, #58
	bl	_strrchr
	mov	x23, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x23
	mov	w1, #93
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.3:
	mov	x23, #0
LBB0_4:
	cbz	x24, LBB0_6
LBB0_5:
	cmp	x23, #0
	cset	w8, ne
	str	w8, [x24]
LBB0_6:
Lloh3:
	adrp	x8, _AF_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x23
	mov	x4, x19
	bl	_inet_pton_with_scope
	mov	x24, x0
	cbz	w0, LBB0_11
; %bb.7:
	ldrb	w8, [x21]
	cbz	w8, LBB0_11
; %bb.8:
	mov	x0, x21
	bl	_strlen
	ldrb	w8, [x21]
	cmp	w8, #91
	b.ne	LBB0_11
; %bb.9:
	add	x8, x21, w0, sxtw
	ldurb	w9, [x8, #-1]
	cmp	w9, #93
	b.ne	LBB0_11
; %bb.10:
	sturb	wzr, [x8, #-1]
Lloh6:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, x21, #1
	mov	x0, x22
	mov	x3, x23
	mov	x4, x19
	bl	_inet_pton_with_scope
	mov	x24, x0
LBB0_11:
	mov	x0, x21
	bl	_kfree
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_pr_debug
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_13:
	mov	x0, x24
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	strb	wzr, [x23], #1
	cbnz	x24, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s -> %pISpfsc\n"

	.no_dead_strip	_srp_parse_in
.subsections_via_symbols
