	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function server_dnsname_suffix_match
_server_dnsname_suffix_match:           ## @server_dnsname_suffix_match
	.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	%rdi, %r13
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_os_strlen
	cmpq	$0, (%r13)
	je	LBB0_7
## %bb.1:
	movq	%rax, %r15
	notq	%rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	negq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	(%r13), %r12
	jae	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rax
	movq	(%rax,%r12,8), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	8(%r13), %rax
	movq	(%rax,%r12,8), %rbx
	movq	%rbx, %rdi
	callq	_os_strlen
	cmpq	%r15, %rax
	jb	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax), %rdi
	addq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_os_strncasecmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %eax
	cmpq	%r15, %r14
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	cmpb	$46, (%rbx,%r14)
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Checking suffix match against server dNSName %s"

	.no_dead_strip	_server_dnsname_suffix_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function server_dnsname_suffix_match
_server_dnsname_suffix_match:           ; @server_dnsname_suffix_match
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_os_strlen
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x21, x0
	mov	x25, #0
	mvn	x26, x0
	neg	x27, x0
Lloh0:
	adrp	x28, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldr	x8, [x20]
	cmp	x25, x8
	b.hs	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x28]
	ldr	x8, [x20, #8]
	lsl	x23, x25, #3
	ldr	x2, [x8, x23]
	mov	x1, x22
	bl	_wpa_printf
	ldr	x8, [x20, #8]
	ldr	x23, [x8, x23]
	mov	x0, x23
	bl	_os_strlen
	cmp	x0, x21
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	add	x8, x23, x27
	add	x0, x8, x0
	mov	x1, x19
	mov	x2, x21
	bl	_os_strncasecmp
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x24, x21
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x24, x26
	ldrb	w8, [x23, x8]
	cmp	w8, #46
	b.ne	LBB0_2
LBB0_7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Checking suffix match against server dNSName %s"

	.no_dead_strip	_server_dnsname_suffix_match
.subsections_via_symbols
