	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function domain_suffix_match
_domain_suffix_match:                   ## @domain_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	leaq	L_.str(%rip), %rsi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r15,%rax)
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rbx
	jne	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	cmpq	%r14, %rbx
	jb	LBB0_12
## %bb.5:
	je	LBB0_7
## %bb.6:
	testl	%r8d, %r8d
	jne	LBB0_12
LBB0_7:
	leaq	(%r15,%rbx), %rdi
	subq	%r14, %rdi
	movq	%rdx, %rsi
	movq	%r14, %rdx
	callq	_os_strncasecmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	cmpq	%rbx, %r14
	je	LBB0_12
## %bb.8:
	testq	%rcx, %rcx
	jne	LBB0_12
## %bb.9:
	notq	%r14
	addq	%rbx, %r14
	movl	$1, %eax
	cmpb	$46, (%r15,%r14)
	je	LBB0_12
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wpa_printf
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLS: Embedded null in a string - reject"

L_.str.1:                               ## @.str.1
	.asciz	"TLS: Reject due to incomplete label match"

	.no_dead_strip	_domain_suffix_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function domain_suffix_match
_domain_suffix_match:                   ; @domain_suffix_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x21, x1
	mov	x20, x0
	cbz	x1, LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x8, x20
	mov	x9, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8]
	cbz	w10, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	cmp	x21, x19
	b.lo	LBB0_13
; %bb.5:
	cmp	x19, x21
	b.eq	LBB0_7
; %bb.6:
	cbnz	w4, LBB0_13
LBB0_7:
	add	x8, x20, x21
	sub	x0, x8, x19
	mov	x1, x2
	mov	x2, x19
	bl	_os_strncasecmp
	mov	x8, x0
	cmp	x0, #0
	cset	w0, eq
	cmp	x19, x21
	b.eq	LBB0_14
; %bb.8:
	cbnz	x8, LBB0_14
; %bb.9:
	mvn	x8, x19
	add	x8, x8, x21
	ldrb	w8, [x20, x8]
	cmp	w8, #46
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #1
	b	LBB0_14
LBB0_11:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_12:
Lloh4:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_wpa_printf
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLS: Embedded null in a string - reject"

l_.str.1:                               ; @.str.1
	.asciz	"TLS: Reject due to incomplete label match"

	.no_dead_strip	_domain_suffix_match
.subsections_via_symbols
