	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_priv_descr_and_size
_get_priv_descr_and_size:               ## @get_priv_descr_and_size
	.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	%rdx, %r14
	movq	(%rdi), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	8(%rcx), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %rbx
	decq	%rax
	jne	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
LBB0_10:
	movq	%rbx, (%r14)
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%esi, %edi
	callq	_IW_IS_SET
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	8(%rbx), %rax
	movb	(%rax), %r15b
	movl	16(%rbx), %edi
	callq	_get_priv_size
                                        ## kill: def $eax killed $eax def $rax
	movq	_IW_PRIV_SIZE_FIXED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%rbx)
	je	LBB0_10
## %bb.7:
	xorl	%ecx, %ecx
	testb	%r15b, %r15b
	sete	%cl
	leal	(%rax,%rcx,4), %ecx
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpl	(%rdx), %ecx
	cmovgl	%eax, %esi
	movl	%esi, %eax
	jmp	LBB0_10
LBB0_8:
	movl	20(%rbx), %edi
	callq	_get_priv_size
                                        ## kill: def $eax killed $eax def $rax
	movq	_IW_PRIV_SIZE_FIXED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 20(%rbx)
	je	LBB0_10
## %bb.9:
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	cmovgl	%eax, %edx
	movl	%edx, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_PRIV_SIZE_FIXED,4,2         ## @IW_PRIV_SIZE_FIXED
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.no_dead_strip	_get_priv_descr_and_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_priv_descr_and_size
_get_priv_descr_and_size:               ; @get_priv_descr_and_size
	.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, x2
	ldr	x9, [x0]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x20, [x9, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20]
	cmp	w9, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #24
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	x20, #0
	mov	w0, #0
	b	LBB0_11
LBB0_5:
	mov	x0, x1
	bl	_IW_IS_SET
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x20, #8]
	ldrb	w21, [x8]
	ldr	w0, [x20, #16]
	bl	_get_priv_size
	ldr	w8, [x20, #16]
Lloh0:
	adrp	x9, _IW_PRIV_SIZE_FIXED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IW_PRIV_SIZE_FIXED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.7:
	cmp	w21, #0
	cset	w8, eq
	add	w8, w0, w8, lsl #2
Lloh3:
	adrp	x9, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFNAMSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b	LBB0_10
LBB0_8:
	ldr	w0, [x20, #20]
	bl	_get_priv_size
	ldr	w8, [x20, #20]
Lloh6:
	adrp	x9, _IW_PRIV_SIZE_FIXED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IW_PRIV_SIZE_FIXED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
Lloh9:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
LBB0_10:
	csel	w0, w0, wzr, gt
LBB0_11:
	str	x20, [x19]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_PRIV_SIZE_FIXED,4,2         ; @IW_PRIV_SIZE_FIXED
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.no_dead_strip	_get_priv_descr_and_size
.subsections_via_symbols
