	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_addr
_check_addr:                            ## @check_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_AF_ATMSVC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_ATM_E164_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.4:
	incq	%rcx
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax,%rdx,4)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_7
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_1:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	16(%rdi), %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	subl	(%rdx), %eax
	cmpq	$0, (%rcx)
	cmovnel	%esi, %eax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_ATMSVC,8,3                  ## @AF_ATMSVC
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATM_E164_LEN,4,2               ## @ATM_E164_LEN
	.no_dead_strip	_check_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_addr
_check_addr:                            ; @check_addr
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AF_ATMSVC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_ATMSVC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	w8, [x9]
	cbz	w8, LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _ATM_E164_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATM_E164_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	add	x9, x9, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cbz	w10, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _EINVAL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	x8, #0
	csneg	w0, wzr, w9, ne
	ret
LBB0_10:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_ATMSVC,8,3                  ; @AF_ATMSVC
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATM_E164_LEN,4,2               ; @ATM_E164_LEN
	.no_dead_strip	_check_addr
.subsections_via_symbols
