	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_switch
_list_switch:                           ## @list_switch
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_nlmsg_hdr
	movl	%eax, %edi
	callq	_nlmsg_data
	movq	%rax, %rbx
	movq	_tb@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movq	_SWITCH_ATTR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_genlmsg_attrdata
	movl	%eax, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_genlmsg_attrlen
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_nla_parse
	testq	%rax, %rax
	js	LBB0_4
## %bb.1:
	movq	(%r13), %rax
	movq	_SWITCH_ATTR_DEV_NAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_4
## %bb.2:
	movq	_SWITCH_ATTR_NAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_4
## %bb.3:
	callq	_nla_get_string
	movq	%rax, %rbx
	movq	(%r13), %rax
	movq	_SWITCH_ATTR_ALIAS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_string
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_printf
LBB0_4:
	movq	_NL_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tb,8,3                         ## @tb
	.comm	_SWITCH_ATTR_MAX,4,2            ## @SWITCH_ATTR_MAX
	.comm	_SWITCH_ATTR_DEV_NAME,8,3       ## @SWITCH_ATTR_DEV_NAME
	.comm	_SWITCH_ATTR_NAME,8,3           ## @SWITCH_ATTR_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found: %s - %s\n"

	.comm	_SWITCH_ATTR_ALIAS,8,3          ## @SWITCH_ATTR_ALIAS
	.comm	_NL_SKIP,4,2                    ## @NL_SKIP
	.no_dead_strip	_list_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_switch
_list_switch:                           ; @list_switch
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_nlmsg_hdr
	bl	_nlmsg_data
	mov	x19, x0
Lloh0:
	adrp	x23, _tb@GOTPAGE
Lloh1:
	ldr	x23, [x23, _tb@GOTPAGEOFF]
	ldr	x20, [x23]
Lloh2:
	adrp	x8, _SWITCH_ATTR_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SWITCH_ATTR_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	mov	w1, #0
	bl	_genlmsg_attrdata
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	bl	_genlmsg_attrlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x4, #0
	bl	_nla_parse
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _SWITCH_ATTR_DEV_NAME@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SWITCH_ATTR_DEV_NAME@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_4
; %bb.2:
Lloh8:
	adrp	x9, _SWITCH_ATTR_NAME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SWITCH_ATTR_NAME@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_4
; %bb.3:
	bl	_nla_get_string
	mov	x19, x0
	ldr	x8, [x23]
Lloh11:
	adrp	x9, _SWITCH_ATTR_ALIAS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SWITCH_ATTR_ALIAS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_string
	mov	x2, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_4:
Lloh16:
	adrp	x8, _NL_SKIP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NL_SKIP@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_tb,8,3                         ; @tb
	.comm	_SWITCH_ATTR_MAX,4,2            ; @SWITCH_ATTR_MAX
	.comm	_SWITCH_ATTR_DEV_NAME,8,3       ; @SWITCH_ATTR_DEV_NAME
	.comm	_SWITCH_ATTR_NAME,8,3           ; @SWITCH_ATTR_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found: %s - %s\n"

	.comm	_SWITCH_ATTR_ALIAS,8,3          ; @SWITCH_ATTR_ALIAS
	.comm	_NL_SKIP,4,2                    ; @NL_SKIP
	.no_dead_strip	_list_switch
.subsections_via_symbols
