	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swconfig_dump_attr
_swconfig_dump_attr:                    ## @swconfig_dump_attr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	16(%rdi), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rbx
	movl	(%rcx), %r12d
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	_NLM_F_MULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SWITCH_CMD_NEW_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_switch_fam@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	callq	_genlmsg_put
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.1:
	movq	_SWITCH_ATTR_OP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	_SWITCH_ATTR_OP_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_SWITCH_ATTR_OP_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r15), %rdx
	movq	%rbx, %rdi
	callq	_nla_put_string
	testq	%rax, %rax
	je	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_cancel
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movq	_SWITCH_ATTR_OP_DESCRIPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nla_put_string
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_end
	movl	(%rbx), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_switch_fam,4,2                 ## @switch_fam
	.comm	_NLM_F_MULTI,4,2                ## @NLM_F_MULTI
	.comm	_SWITCH_CMD_NEW_ATTR,4,2        ## @SWITCH_CMD_NEW_ATTR
	.comm	_SWITCH_ATTR_OP_ID,4,2          ## @SWITCH_ATTR_OP_ID
	.comm	_SWITCH_ATTR_OP_TYPE,4,2        ## @SWITCH_ATTR_OP_TYPE
	.comm	_SWITCH_ATTR_OP_NAME,4,2        ## @SWITCH_ATTR_OP_NAME
	.comm	_SWITCH_ATTR_OP_DESCRIPTION,4,2 ## @SWITCH_ATTR_OP_DESCRIPTION
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_swconfig_dump_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swconfig_dump_attr
_swconfig_dump_attr:                    ; @swconfig_dump_attr
	.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	x21, x1
	ldp	x19, x8, [x0, #8]
	ldr	x9, [x0]
	ldr	w22, [x9]
	ldp	w2, w1, [x8]
Lloh0:
	adrp	x8, _NLM_F_MULTI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NLM_F_MULTI@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x8, _SWITCH_CMD_NEW_ATTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWITCH_CMD_NEW_ATTR@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x3, _switch_fam@GOTPAGE
Lloh7:
	ldr	x3, [x3, _switch_fam@GOTPAGEOFF]
	mov	x0, x19
	bl	_genlmsg_put
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_6
LBB0_2:
Lloh8:
	adrp	x8, _SWITCH_ATTR_OP_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SWITCH_ATTR_OP_ID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_nla_put_u32
	cbnz	x0, LBB0_5
; %bb.3:
Lloh11:
	adrp	x8, _SWITCH_ATTR_OP_TYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SWITCH_ATTR_OP_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _SWITCH_ATTR_OP_NAME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SWITCH_ATTR_OP_NAME@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x2, [x21, #16]
	mov	x0, x19
	bl	_nla_put_string
	cbz	x0, LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_cancel
Lloh17:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
LBB0_7:
	ldr	x2, [x21, #8]
	cbz	x2, LBB0_9
; %bb.8:
Lloh20:
	adrp	x8, _SWITCH_ATTR_OP_DESCRIPTION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SWITCH_ATTR_OP_DESCRIPTION@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_put_string
	cbnz	x0, LBB0_5
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_end
	ldr	w0, [x19]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_switch_fam,4,2                 ; @switch_fam
	.comm	_NLM_F_MULTI,4,2                ; @NLM_F_MULTI
	.comm	_SWITCH_CMD_NEW_ATTR,4,2        ; @SWITCH_CMD_NEW_ATTR
	.comm	_SWITCH_ATTR_OP_ID,4,2          ; @SWITCH_ATTR_OP_ID
	.comm	_SWITCH_ATTR_OP_TYPE,4,2        ; @SWITCH_ATTR_OP_TYPE
	.comm	_SWITCH_ATTR_OP_NAME,4,2        ; @SWITCH_ATTR_OP_NAME
	.comm	_SWITCH_ATTR_OP_DESCRIPTION,4,2 ; @SWITCH_ATTR_OP_DESCRIPTION
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_swconfig_dump_attr
.subsections_via_symbols
