	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_das_nas_mismatch
_hostapd_das_nas_mismatch:              ## @hostapd_das_nas_mismatch
	.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	%rsi, %rbx
	movq	%rdi, %r15
	cmpq	$0, 24(%rsi)
	je	LBB0_4
## %bb.1:
	movq	(%r15), %rax
	movq	16(%rax), %rdi
	leaq	L_.str(%rip), %r14
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.2:
	callq	_os_strlen
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.3:
	movq	(%r15), %rcx
	movq	16(%rcx), %rdi
	movq	24(%rbx), %rsi
	movl	%eax, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_7
LBB0_4:
	movq	16(%rbx), %rsi
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.5:
	movq	(%r15), %rdi
	movq	(%rdi), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	leaq	L_.str.1(%rip), %r14
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	addq	$12, %rdi
	movl	$4, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_wpa_printf
	movl	$1, %ebx
LBB0_8:
	movl	%ebx, %eax
	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	"RADIUS DAS: NAS-Identifier mismatch"

	.comm	_AF_INET,8,3                    ## @AF_INET
L_.str.1:                               ## @.str.1
	.asciz	"RADIUS DAS: NAS-IP-Address mismatch"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.no_dead_strip	_hostapd_das_nas_mismatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_das_nas_mismatch
_hostapd_das_nas_mismatch:              ; @hostapd_das_nas_mismatch
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_os_strlen
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x2, x0
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	ldr	x1, [x20, #24]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_os_memcmp
	cbz	x0, LBB0_5
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_5:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_11
; %bb.6:
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _AF_INET@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AF_INET@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.7:
	add	x0, x8, #12
	mov	w2, #4
	bl	_os_memcmp
	cbz	x0, LBB0_10
LBB0_8:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
Lloh7:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_wpa_printf
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RADIUS DAS: NAS-Identifier mismatch"

	.comm	_AF_INET,8,3                    ; @AF_INET
l_.str.1:                               ; @.str.1
	.asciz	"RADIUS DAS: NAS-IP-Address mismatch"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.no_dead_strip	_hostapd_das_nas_mismatch
.subsections_via_symbols
