	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_clone_destroy             ## -- Begin function wlan_clone_destroy
	.p2align	4, 0x90
_wlan_clone_destroy:                    ## @wlan_clone_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-24(%rbp), %edi
	movl	(%rbx), %esi
	callq	_strcpy
	movq	_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIOCIFDESTROY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.comm	_sock,4,2                       ## @sock
	.comm	_SIOCIFDESTROY,4,2              ## @SIOCIFDESTROY
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wlan clone destroy: ioctl(SIOCIFDESTROY) failed: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_clone_destroy             ; -- Begin function wlan_clone_destroy
	.p2align	2
_wlan_clone_destroy:                    ; @wlan_clone_destroy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp, #8]
	ldr	w1, [x19]
	bl	_strcpy
Lloh0:
	adrp	x8, _sock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sock@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SIOCIFDESTROY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIOCIFDESTROY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	tbnz	x0, #63, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_syslog
Lloh18:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.comm	_sock,4,2                       ; @sock
	.comm	_SIOCIFDESTROY,4,2              ; @SIOCIFDESTROY
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wlan clone destroy: ioctl(SIOCIFDESTROY) failed: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
.subsections_via_symbols
